Add support for building as a .framework

This commit is contained in:
Jonathan Schleifer 2018-01-21 23:44:58 +01:00
parent 6139e5b982
commit e303ca5a35
No known key found for this signature in database
GPG key ID: 28D65178B37F33E3
4 changed files with 20 additions and 3 deletions

View file

@ -2,6 +2,7 @@ include ../extra.mk
SHARED_LIB = ${OBJXMPP_SHARED_LIB}
STATIC_LIB = ${OBJXMPP_STATIC_LIB}
FRAMEWORK = ${OBJXMPP_FRAMEWORK}
LIB_MAJOR = 0
LIB_MINOR = 0
@ -39,3 +40,5 @@ include ../buildsys.mk
CPPFLAGS += -I.. -DHAVE_CONFIG_H
LD = ${OBJC}
FRAMEWORK_LIBS := ${OBJOPENSSL_FRAMEWORK_LIBS} ${OBJFW_FRAMEWORK_LIBS} ${LIBS}
LIBS := ${OBJOPENSSL_LIBS} ${OBJFW_LIBS} ${LIBS}