Use the output of "gnustep-config --base-libs" to determine which libs our libraries must be linked against

This commit is contained in:
Wolfgang Sourdeau
2012-11-07 09:50:32 -05:00
parent 160aa42b88
commit 3f58b6bfd1
7 changed files with 15 additions and 9 deletions
+3 -2
View File
@@ -8,11 +8,12 @@ ADDITIONAL_INCLUDE_DIRS += -I. -I..
# dependencies
BASE_LIBS := $(shell gnustep-config --base-libs)
libGDLContentStore_LIBRARIES_DEPEND_UPON += \
-lGDLAccess \
-lNGExtensions -lEOControl \
-lgnustep-base -lobjc
$(BASE_LIBS)
GDLContentStore_LIBRARIES_DEPEND_UPON += \
-framework GDLAccess \
@@ -25,7 +26,7 @@ GCS_TOOL_LIBS += \
-lGDLContentStore -lGDLAccess \
-lNGExtensions -lEOControl \
-lDOM -lSaxObjC \
-lgnustep-base
$(BASE_LIBS)
else
GCS_TOOL_LIBS += \
-framework GDLContentStore -framework GDLAccess \
+3 -1
View File
@@ -17,11 +17,13 @@ ADDITIONAL_INCLUDE_DIRS += \
# dependencies
BASE_LIBS := $(shell gnustep-config --base-libs)
libNGCards_LIBRARIES_DEPEND_UPON += \
-lNGExtensions \
-lEOControl \
-lSaxObjC \
-lgnustep-base -lobjc -lm
$(BASE_LIBS)
NGCards_LIBRARIES_DEPEND_UPON += \
-framework NGExtensions -framework EOControl \