Blame SOURCES/ebtables-2.0.10-linkfix.patch
|
|
8c7451 |
diff -up ebtables-v2.0.10-4/extensions/Makefile.linkfix ebtables-v2.0.10-4/extensions/Makefile
|
|
|
8c7451 |
--- ebtables-v2.0.10-4/extensions/Makefile.linkfix 2011-12-15 15:02:47.000000000 -0500
|
|
|
8c7451 |
+++ ebtables-v2.0.10-4/extensions/Makefile 2012-04-05 15:52:09.563511746 -0400
|
|
|
8c7451 |
@@ -9,9 +9,10 @@ EXT_LIBS+=$(foreach T,$(EXT_FUNC), exten
|
|
|
8c7451 |
EXT_LIBS+=$(foreach T,$(EXT_TABLES), extensions/libebtable_$(T).so)
|
|
|
8c7451 |
EXT_LIBSI+=$(foreach T,$(EXT_FUNC), -lebt_$(T))
|
|
|
8c7451 |
EXT_LIBSI+=$(foreach T,$(EXT_TABLES), -lebtable_$(T))
|
|
|
8c7451 |
+EXT_LDFLAGS+=-L. -lebtc
|
|
|
8c7451 |
|
|
|
8c7451 |
-extensions/ebt_%.so: extensions/ebt_%.o
|
|
|
8c7451 |
- $(CC) $(LDFLAGS) -shared -o $@ -lc $< -nostartfiles
|
|
|
8c7451 |
+extensions/ebt_%.so: extensions/ebt_%.o libebtc.so
|
|
|
8c7451 |
+ $(CC) $(LDFLAGS) $(EXT_LDFLAGS) -shared -o $@ -lc $< -nostartfiles
|
|
|
8c7451 |
|
|
|
8c7451 |
extensions/libebt_%.so: extensions/ebt_%.so
|
|
|
8c7451 |
mv $< $@
|