summaryrefslogtreecommitdiff
path: root/Makefile
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
commit147ebcd98ce97e014d5a2631f8eef695626f7428 (patch)
treeb226f3c019e05957d6d08870139409e2a59aa0d0 /Makefile
parent7ae403b7757fdcdc0d721c44f9f0113735f47516 (diff)
downloadebtables-147ebcd98ce97e014d5a2631f8eef695626f7428.tar.gz
ebtables-147ebcd98ce97e014d5a2631f8eef695626f7428.tar.bz2
ebtables-147ebcd98ce97e014d5a2631f8eef695626f7428.zip
fix hidden symbol compilation error when using ld directly
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6a6d4a7..22609c2 100644
--- a/Makefile
+++ b/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) \