Files
Derek Straka 7c25fa41fa daemonize: update to version 1.7.7
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-15 12:31:59 +02:00

24 lines
594 B
Diff

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