summaryrefslogtreecommitdiff
path: root/package/traceroute/patches/patch-default_rules
blob: 1351f747f2adf2a71eedfdaacc33b7fe82777161 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- traceroute-2.0.16.orig/default.rules	2010-09-09 16:20:06.000000000 +0200
+++ traceroute-2.0.16/default.rules	2011-01-17 15:53:37.000000000 +0100
@@ -44,7 +44,7 @@ ifeq ($(shared),yes)
 all: $(TARGET).so
 
 $(TARGET).so: $(OBJS)
-	$(CC) -shared -o $@ -Wl,-soname -Wl,$@ $(OBJS)
+	$(CC) $(LDFLAGS) -shared -o $@ -Wl,-soname -Wl,$@ $(OBJS)
 
 else