Skip to content

Commit

Permalink
Fixing LDFLAGS and standardizing LIBS
Browse files Browse the repository at this point in the history
This is modeled after the Gentoo patch.

Gentoo patch 0100_all_ldflags.patch
  • Loading branch information
fidian authored and ajwans committed Dec 18, 2013
1 parent 6b5c6bb commit ad09369
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile.in
Expand Up @@ -9,6 +9,8 @@ mandir=$(prefix)/man/man8

LN_S=@LN_S@
CC=@CC@
LDFLAGS=@LDFLAGS@
LIBS=@LIBS@

etcdir=@sysconfdir@
SSMTPCONFDIR=$(etcdir)/ssmtp
Expand Down Expand Up @@ -79,7 +81,7 @@ uninstall-sendmail: uninstall

# Binaries:
ssmtp: $(OBJS)
$(CC) -o ssmtp $(OBJS) @LIBS@ $(CFLAGS) $(LDFLAGS)
$(CC) -o ssmtp $(OBJS) $(LIBS) $(CFLAGS) $(LDFLAGS)

.PHONY: clean
clean:
Expand Down

0 comments on commit ad09369

Please sign in to comment.