From: Vitaliy Gusev Date: Mon, 17 Dec 2007 13:06:38 +0000 (+0300) Subject: Fix lost export-dynamic X-Git-Tag: v2.6.24-rc6~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d84914a0c566516e13502fa555a92a2fb7968bb5;p=thirdparty%2Fiproute2.git Fix lost export-dynamic get_link_kind() fails for statically linked modules (vlan, veth, etc.) if "ip" was linked without "export-dynamic". Signed-off-by: Vitaliy Gusev -- Thank, Vitaliy Gusev Signed-off-by: Stephen Hemminger --- diff --git a/ip/Makefile b/ip/Makefile index 448efb905..b427d581f 100644 --- a/ip/Makefile +++ b/ip/Makefile @@ -24,3 +24,5 @@ clean: rm -f $(ALLOBJ) $(TARGETS) LDLIBS += -ldl + +LDFLAGS += -Wl,-export-dynamic