Mac's gcc doesn't support -static
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@697 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
0e03492cdb
commit
d08b31a152
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,12 @@
|
||||||
include ../../Makefile.common
|
include ../../Makefile.common
|
||||||
|
|
||||||
override CPPFLAGS += -I../../include -DNDEBUG
|
override CPPFLAGS += -I../../include -DNDEBUG
|
||||||
override LDFLAGS += -L../../lib -static
|
ifeq ($(OS),Darwin)
|
||||||
|
override LDFLAGS += -L../../lib
|
||||||
|
else
|
||||||
|
override LDFLAGS += -L../../lib -static
|
||||||
|
endif
|
||||||
|
|
||||||
LDLIBS := -lloki
|
LDLIBS := -lloki
|
||||||
|
|
||||||
ifeq ($(OS),Windows)
|
ifeq ($(OS),Windows)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue