Add support for building as a .framework

This commit is contained in:
Jonathan Schleifer 2018-01-21 21:54:38 +01:00
parent a156dab77d
commit 7bd7ccc31f
No known key found for this signature in database
GPG key ID: 28D65178B37F33E3
3 changed files with 6 additions and 0 deletions

View file

@ -31,6 +31,10 @@ AC_ARG_ENABLE(shared,
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"], [