projects
/
platform
/
upstream
/
ebtables.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ae403b
)
fix hidden symbol compilation error when using ld directly
author
Bart De Schuymer
<bdschuym@pandora.be>
Thu, 24 Sep 2009 18:05:23 +0000
(18:05 +0000)
committer
Bart De Schuymer
<bdschuym@pandora.be>
Thu, 24 Sep 2009 18:05:23 +0000
(18:05 +0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
6a6d4a7
..
22609c2
100644
(file)
--- 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) \