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
+7 -1
View File
@@ -2,6 +2,7 @@
mk=Makefile
depth=${depth:-..}
sys=`uname`
SRC_CPP="\
${depth}/aspell/rclaspell.cpp \
@@ -110,13 +111,18 @@ defs=\$\(depth\)/mk/localdefs
test -f $mk && chmod +w $mk
if test $sys = "Darwin";then
NODYNLIB='#'
fi
cat > $mk <<EOF
# DONT EDIT BY HAND: created by script mkMake
depth = ${depth}
include \$(depth)/mk/sysconf
LIBRECOLL=librecoll.so.\$(RCLLIBVERSION)
LIBS = librecoll.a \$(LIBRECOLL)
LIBS = librecoll.a
${NODYNLIB}LIBS = librecoll.a \$(LIBRECOLL)
all: \$(LIBS)