mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-06 04:20:33 +00:00
Use the output of "gnustep-config --base-libs" to determine which libs our libraries must be linked against
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user