Add support for building as a .framework

FossilOrigin-Name: e3441508b5a2108206d0c5130ca71fc79c12361b32ae1e8cb994c5ee63826a92
This commit is contained in:
Jonathan Schleifer 2018-02-25 23:50:12 +00:00
parent e5b9634a02
commit 2a0c3bb8a1
4 changed files with 13 additions and 1 deletions

View file

@ -4,6 +4,7 @@ SUBDIRS = exceptions
SHARED_LIB = ${OBJPGSQL_SHARED_LIB}
STATIC_LIB = ${OBJPGSQL_STATIC_LIB}
FRAMEWORK = ${OBJPGSQL_FRAMEWORK}
LIB_MAJOR = 0
LIB_MINOR = 1
@ -20,3 +21,5 @@ include ../buildsys.mk
CPPFLAGS += -I. -Iexceptions
LD = ${OBJC}
FRAMEWORK_LIBS := ${OBJFW_FRAMEWORK_LIBS} ${LIBS}
LIBS := ${OBJFW_LIBS} ${LIBS}