Root/package/hotplug2/patches/110-static_worker.patch

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

Archive Download this file



interactive