From b6e47547eedeac484615b374771041ad0a21ff82 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Mon, 4 Apr 2016 09:11:34 +0200 Subject: [PATCH] fcron: fix build --- srcpkgs/fcron/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/fcron/template b/srcpkgs/fcron/template index 384b5b2d289..b45fffebfd0 100644 --- a/srcpkgs/fcron/template +++ b/srcpkgs/fcron/template @@ -46,7 +46,7 @@ conf_files=" ## me: fcron installer is not the king. I'm. ## fcron: Wine is coming. CFLAGS="-DHAVE_LIBPAM=1" -LDFLAGS="-lpam" +LDFLAGS="-Wl,--no-as-needed -lpam" pre_configure() { sed -i 's|$(CFLAGS)|$(CFLAGS) $(LDFLAGS)|g' Makefile.in # pass LDFLAGS for PIE autoupdate