daemonize: update to version 1.7.7

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Derek Straka
2016-08-09 17:52:26 -04:00
committed by Martin Jansa
parent 5f9728d97f
commit 7c25fa41fa
2 changed files with 27 additions and 3 deletions
@@ -0,0 +1,23 @@
Add the LDFLAGS to the final link to avoid errors with missing GNU_HASH
Upstream-Status: Submitted [https://github.com/bmc/daemonize/pull/22]
Signed-off-by: Derek Straka <derek@asterius.io>
diff --git a/Makefile.in b/Makefile.in
index 8a4d078..40d3dee 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -24,10 +24,10 @@ LDFLAGS = @LDFLAGS@
all: daemonize
daemonize: daemonize.o getopt.o $(MISSING_OBJECTS)
- $(CC) $(CFLAGS) -o $@ $^
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
testdaemon: testdaemon.o
- $(CC) $(CFLAGS) -o $@ $^
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
psman: daemonize.ps