Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -29,10 +29,14 @@ AC_ARG_ENABLE(shared, AS_HELP_STRING([--disable-shared], [do not build shared library])) AS_IF([test x"$enable_shared" != x"no"], [ BUILDSYS_SHARED_LIB AC_SUBST(OBJOPENSSL_SHARED_LIB, "${LIB_PREFIX}objopenssl${LIB_SUFFIX}") + + BUILDSYS_FRAMEWORK([ + AC_SUBST(OBJOPENSSL_FRAMEWORK, "ObjOpenSSL.framework") + ]) ]) AC_ARG_ENABLE(static, AS_HELP_STRING([--enable-static], [build static library])) AS_IF([test x"$enable_static" = x"yes" -o x"$enable_shared" = x"no"], [ AC_PATH_TOOL(AR, ar) AC_PROG_RANLIB Index: extra.mk.in ================================================================== --- extra.mk.in +++ extra.mk.in @@ -1,2 +1,3 @@ OBJOPENSSL_SHARED_LIB = @OBJOPENSSL_SHARED_LIB@ OBJOPENSSL_STATIC_LIB = @OBJOPENSSL_STATIC_LIB@ +OBJOPENSSL_FRAMEWORK = @OBJOPENSSL_FRAMEWORK@ Index: src/Makefile ================================================================== --- src/Makefile +++ src/Makefile @@ -1,9 +1,10 @@ include ../extra.mk SHARED_LIB = ${OBJOPENSSL_SHARED_LIB} STATIC_LIB = ${OBJOPENSSL_STATIC_LIB} +FRAMEWORK = ${OBJOPENSSL_FRAMEWORK} LIB_MAJOR = 0 LIB_MINOR = 0 SRCS = SSLConnectionFailedException.m \ SSLInvalidCertificateException.m \