use static linking on macosx

This commit is contained in:
Jean-Francois Dockes
2013-01-04 14:15:34 +01:00
parent 9b55eb1cda
commit 5f61c2edff
7 changed files with 31 additions and 12 deletions
+11 -2
View File
@@ -83,8 +83,13 @@ unix {
# Note: libdir may be substituted with sthing like $(exec_prefix)/lib
# at this point and will go as such in the Makefile. Expansion will be
# completed at make time.
LIBS += $(BSTATIC) -L../lib -lrecoll -Wl,-rpath=@libdir@/recoll \
@LIBXAPIAN@ $(LIBXAPIANSTATICEXTRA) \
LIBS += $(BSTATIC) -L../lib -lrecoll
!macx {
LIBS += -Wl,-rpath=@libdir@/recoll
}
LIBS += @LIBXAPIAN@ $(LIBXAPIANSTATICEXTRA) \
@LIBICONV@ $(BDYNAMIC) @LIBQZEITGEIST@ -lz
INCLUDEPATH += ../common ../index ../internfile ../query ../unac \
@@ -103,6 +108,10 @@ contains( UNAME, SunOS ) {
LIBS += -ldl
}
macx {
ICON = images/recoll.icns
}
TRANSLATIONS = \
i18n/recoll_cs.ts \
i18n/recoll_de.ts \