--- Makefile +++ Makefile @@ -85,7 +85,7 @@ .PHONY: libebtc libebtc: $(OBJECTS2) - $(LD) -shared -soname libebtc.so -o libebtc.so -lc $(OBJECTS2) + $(LD) -shared -Wl,-soname -Wl,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) \ --- ebtables.sysv +++ ebtables.sysv @@ -11,6 +11,16 @@ # # config: __SYSCONFIG__/ebtables (text) # __SYSCONFIG__/ebtables.