Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.

Commit 7bd7ccc

Browse files
committed
Add support for building as a .framework
1 parent a156dab commit 7bd7ccc

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

configure.ac

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ AC_ARG_ENABLE(shared,
3131
AS_IF([test x"$enable_shared" != x"no"], [
3232
BUILDSYS_SHARED_LIB
3333
AC_SUBST(OBJOPENSSL_SHARED_LIB, "${LIB_PREFIX}objopenssl${LIB_SUFFIX}")
34+
35+
BUILDSYS_FRAMEWORK([
36+
AC_SUBST(OBJOPENSSL_FRAMEWORK, "ObjOpenSSL.framework")
37+
])
3438
])
3539
AC_ARG_ENABLE(static, AS_HELP_STRING([--enable-static], [build static library]))
3640
AS_IF([test x"$enable_static" = x"yes" -o x"$enable_shared" = x"no"], [

extra.mk.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
OBJOPENSSL_SHARED_LIB = @OBJOPENSSL_SHARED_LIB@
22
OBJOPENSSL_STATIC_LIB = @OBJOPENSSL_STATIC_LIB@
3+
OBJOPENSSL_FRAMEWORK = @OBJOPENSSL_FRAMEWORK@

src/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include ../extra.mk
22

33
SHARED_LIB = ${OBJOPENSSL_SHARED_LIB}
44
STATIC_LIB = ${OBJOPENSSL_STATIC_LIB}
5+
FRAMEWORK = ${OBJOPENSSL_FRAMEWORK}
56
LIB_MAJOR = 0
67
LIB_MINOR = 0
78

0 commit comments

Comments
 (0)