summaryrefslogtreecommitdiff
path: root/recipes/ssmtp/ssmtp-2.61/ldflags.patch
blob: 0cbda2c85d1e37274b1dbca6c432fa4cb92abe6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- ssmtp-2.60/Makefile.in~ldflags
+++ ssmtp-2.60/Makefile.in
@@ -36,6 +36,7 @@
 
 
 CFLAGS=-Wall @DEFS@ $(EXTRADEFS) @CFLAGS@
+LDFLAGS=@LDFLAGS@
 
 .PHONY: all
 all: ssmtp
@@ -78,7 +79,7 @@
 
 # Binaries:
 ssmtp: $(OBJS)
-	$(CC) -o ssmtp $(OBJS) @LIBS@
+	$(CC) -o ssmtp $(OBJS) $(LDFLAGS) @LIBS@
 
 .PHONY: clean
 clean: