initial import
[patches.git] / iproute2-genl-linking-order.patch
CommitLineData
5e993f12 1diff --git a/genl/Makefile b/genl/Makefile
2index 4436508..b7dbe28 100644
3--- a/genl/Makefile
4+++ b/genl/Makefile
5@@ -9,14 +9,15 @@ GENLOBJ += $(GENLMODULES)
6
7 GENLLIB :=
8
9-LDFLAGS += -Wl,-export-dynamic -lm -ldl
10+LDLIBS += -lm -ldl
11+LDFLAGS += -Wl,-export-dynamic
12
13 all: genl
14
15 genl: $(GENLOBJ) $(LIBNETLINK) $(LIBUTIL) $(GENLLIB)
16
17 install: all
18- install -m 0755 -s genl $(DESTDIR)$(SBINDIR)
19+ install -m 0755 genl $(DESTDIR)$(SBINDIR)
20
21 clean:
22 rm -f $(GENLOBJ) $(GENLLIB) genl