summaryrefslogtreecommitdiff
path: root/debian/patches/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/makefile')
-rw-r--r--debian/patches/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/makefile b/debian/patches/makefile
index aac6005..f042fd9 100644
--- a/debian/patches/makefile
+++ b/debian/patches/makefile
@@ -22,7 +22,7 @@
linbpq: $(OBJS)
- gcc $(OBJS) -Xlinker -Map=output.map -l:libminiupnpc.a -lrt -lm -lz $(LDFLAGS) -lpthread -lconfig -lpcap -o linbpq
- sudo setcap "CAP_NET_ADMIN=ep CAP_NET_RAW=ep CAP_NET_BIND_SERVICE=ep" linbpq
-+ gcc $(OBJS) $(LDFLAGS) $(LIBS) -o linbpq
++ gcc $(OBJS) $(CLFAGS) $(LDFLAGS) $(LIBS) -o linbpq
+ # sudo setcap "CAP_NET_ADMIN=ep CAP_NET_RAW=ep CAP_NET_BIND_SERVICE=ep" linbpq
-include *.d
@@ -33,7 +33,7 @@
-
+install:
+ install -b -m 755 -D -d debian/linbpq/usr/sbin
-+ install -b -m 755 -s -p linbpq debian/linbpq/usr/sbin
++ install -b -m 755 -p linbpq debian/linbpq/usr/sbin
+
+clean:
+ $(RM) *.d