* [PATCH] Fix lost export-dynamic
@ 2007-12-17 13:06 Vitaliy Gusev
2007-12-21 17:17 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: Vitaliy Gusev @ 2007-12-17 13:06 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: Patrick McHardy, netdev
[-- Attachment #1: Type: text/plain, Size: 193 bytes --]
get_link_kind() fails for statically linked modules (vlan, veth, etc.) if "ip"
was linked without "export-dynamic".
Signed-off-by: Vitaliy Gusev <vgusev@openvz.org>
--
Thank,
Vitaliy Gusev
[-- Attachment #2: diff-add-export-dynamic.patch --]
[-- Type: text/plain, Size: 211 bytes --]
diff --git a/ip/Makefile b/ip/Makefile
index 448efb9..b427d58 100644
--- a/ip/Makefile
+++ b/ip/Makefile
@@ -24,3 +24,5 @@ clean:
rm -f $(ALLOBJ) $(TARGETS)
LDLIBS += -ldl
+
+LDFLAGS += -Wl,-export-dynamic
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix lost export-dynamic
2007-12-17 13:06 [PATCH] Fix lost export-dynamic Vitaliy Gusev
@ 2007-12-21 17:17 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2007-12-21 17:17 UTC (permalink / raw)
To: Vitaliy Gusev; +Cc: Patrick McHardy, netdev
On Mon, 17 Dec 2007 16:06:38 +0300
Vitaliy Gusev <vgusev@openvz.org> wrote:
> get_link_kind() fails for statically linked modules (vlan, veth, etc.) if "ip"
> was linked without "export-dynamic".
>
> Signed-off-by: Vitaliy Gusev <vgusev@openvz.org>
>
applied thanks
--
Stephen Hemminger <stephen.hemminger@vyatta.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-21 17:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-17 13:06 [PATCH] Fix lost export-dynamic Vitaliy Gusev
2007-12-21 17:17 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).