use static linking on macosx
This commit is contained in:
+11
-2
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user