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