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