summaryrefslogtreecommitdiffstats
path: root/userspace
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2009-09-24 18:05:23 +0000
committerBart De Schuymer <bdschuym@pandora.be>2009-09-24 18:05:23 +0000
commitfe0a4d8e9c2387040be9f7dd35d21bb3c8ce93d7 (patch)
tree1056c803016daf073f0424dbe811a57760c03774 /userspace
parenta58a3f3725ab3c6e012aa4dfb11b7abd1a59abcf (diff)
fix hidden symbol compilation error when using ld directly
Diffstat (limited to 'userspace')
-rw-r--r--userspace/ebtables2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/userspace/ebtables2/Makefile b/userspace/ebtables2/Makefile
index 6a6d4a7..22609c2 100644
--- a/userspace/ebtables2/Makefile
+++ b/userspace/ebtables2/Makefile
@@ -85,7 +85,7 @@ ebtables-standalone.o: ebtables-standalone.c include/ebtables_u.h
.PHONY: libebtc
libebtc: $(OBJECTS2)
- $(LD) -shared -soname libebtc.so -o libebtc.so -lc $(OBJECTS2)
+ $(CC) -shared -Wl,-soname,libebtc.so -o libebtc.so -lc $(OBJECTS2)
ebtables: $(OBJECTS) ebtables-standalone.o libebtc
$(CC) $(CFLAGS) $(CFLAGS_SH_LIB) -o $@ ebtables-standalone.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \