summaryrefslogtreecommitdiff
path: root/makefiles/gmake/libs.mk
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2010-06-06 21:00:34 +0200
committerAndreas Baumann <abaumann@yahoo.com>2010-06-06 21:00:34 +0200
commitc92971182c73984955fc66a62d82bef3b083b271 (patch)
tree6af871c5d2c53930f7d62629aec54346576d6373 /makefiles/gmake/libs.mk
parent7ff343817893038aec7a6116827f39d95e202d9a (diff)
downloadwolfbones-c92971182c73984955fc66a62d82bef3b083b271.tar.gz
wolfbones-c92971182c73984955fc66a62d82bef3b083b271.tar.bz2
fixed tcc (limits.h problems and linking dynamic libraries on Linux)
Diffstat (limited to 'makefiles/gmake/libs.mk')
-rw-r--r--makefiles/gmake/libs.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/makefiles/gmake/libs.mk b/makefiles/gmake/libs.mk
index 08899c3..c8f77a6 100644
--- a/makefiles/gmake/libs.mk
+++ b/makefiles/gmake/libs.mk
@@ -10,8 +10,13 @@
#
ifeq "$(PLATFORM)" "LINUX"
+ifeq "$(COMPILER)" "gcc"
SO_FLAGS = -shared -Wl,-soname,$(DYNAMIC_LIB).$(DYNAMIC_LIB_MAJOR)
endif
+ifeq "$(COMPILER)" "tcc"
+SO_FLAGS = -shared
+endif
+endif
ifeq "$(PLATFORM)" "SUNOS"
ifeq "$(COMPILER)" "gcc"