Link correctly against libraries used

Link the mapistore backend against libgnustep-base, libobjc,
libNGObjWeb. Link the SAML code against gobject-2.0.
pull/35/head
Jeroen Dekkers 2014-04-10 00:33:05 +02:00
parent 49363cfe36
commit b5dc2e264d
2 changed files with 2 additions and 2 deletions

View File

@ -171,7 +171,7 @@ LIBMAPISTORE_LIBS = $(shell pkg-config libmapistore --libs) -lmapiproxy -lWEExte
$(MAPISTORESOGO)_INSTALL_DIR = $(DESTDIR)/$(SAMBA_LIB_DIR)/mapistore_backends
$(MAPISTORESOGO)_LIB_DIRS += \
-L../SoObjects/SOGo/SOGo.framework/ -lSOGo \
-L../SoObjects/SOGo/SOGo.framework/ -lSOGo -lgnustep-base -lobjc -lNGObjWeb \
$(LIBMAPI_LIBS) \
$(LIBMAPISTORE_LIBS)

2
configure vendored
View File

@ -381,7 +381,7 @@ checkDependencies() {
if test $? = 0; then
lasso_cflags="`pkg-config lasso --cflags`"
cfgwrite "LASSO_CFLAGS := $lasso_cflags"
lasso_libs="`pkg-config lasso --libs`"
lasso_libs="`pkg-config lasso --libs` `pkg-config gobject-2.0 --libs`"
cfgwrite "LASSO_LIBS := $lasso_libs"
fi;
fi