summaryrefslogtreecommitdiffstats
path: root/package/hotplug2/patches/110-static_worker.patch
blob: bca4aace7c102ad04bbb2672d42d50e3af385cb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -Naur a/common.mak b/common.mak
--- a/common.mak	2009-11-18 13:15:21.000000000 +0000
+++ b/common.mak	2009-11-18 13:25:18.000000000 +0000
@@ -1,7 +1,7 @@
 # vim:set sw=8 nosta:
 
 COPTS=-Os -Wall -g
-LDFLAGS=-g -ldl
+LDFLAGS=-g
 
 CFLAGS=$(COPTS)
 FPIC=-fPIC
diff -Naur a/Makefile b/Makefile
--- a/Makefile	2009-11-18 13:15:21.000000000 +0000
+++ b/Makefile	2009-11-18 13:25:18.000000000 +0000
@@ -40,5 +40,6 @@
   CFLAGS += -DSTATIC_WORKER=1
 else
   CFLAGS += $(FPIC)
+  LDFLAGS += -ldl
 endif