summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2006-08-17 10:13:52 +0000
committerBart De Schuymer <bdschuym@pandora.be>2006-08-17 10:13:52 +0000
commitb913e51007562c80a1bdfb356b958885eab178db (patch)
tree2be50fb8489ea647a18c6ff36823dc389ce0f171 /extensions
parentdc5d9fc413f2f9177c3f063c34790cf6e7166271 (diff)
deal with multiple declaration of _init
Diffstat (limited to 'extensions')
-rw-r--r--extensions/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/Makefile b/extensions/Makefile
index 4323b3b..2976d62 100644
--- a/extensions/Makefile
+++ b/extensions/Makefile
@@ -11,13 +11,13 @@ EXT_LIBSI+=$(foreach T,$(EXT_FUNC), -lebt_$(T))
EXT_LIBSI+=$(foreach T,$(EXT_TABLES), -lebtable_$(T))
extensions/ebt_%.so: extensions/ebt_%.o
- $(LD) -shared -o $@ -lc $<
+ $(CC) -shared -o $@ -lc $< -nostartfiles
extensions/libebt_%.so: extensions/ebt_%.so
mv $< $@
extensions/ebtable_%.so: extensions/ebtable_%.o
- $(LD) -shared -o $@ -lc $<
+ $(CC) -shared -o $@ -lc $< -nostartfiles
extensions/libebtable_%.so: extensions/ebtable_%.so
mv $< $@