Skip to contentSkip to conversation

Fix lost export-dynamic

PATCH In review Vitaliy Gusev 2 participants 2 messages Dec 17, 2007 – Dec 21, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix lost export-dynamic

get_link_kind() fails for statically linked modules (vlan, veth, etc.) if "ip" was linked without "export-dynamic".

Signature · 2 lines
Thank,
Vitaliy Gusev
ip/Makefile +2 -0
index 448efb9..b427d58 100644
@@ -24,3 +24,5 @@ clean:
 	rm -f $(ALLOBJ) $(TARGETS)
 
 LDLIBS += -ldl
+
+LDFLAGS += -Wl,-export-dynamic