fcron: fix build

This commit is contained in:
Michael Gehring 2016-04-04 09:11:34 +02:00
parent 5095d2d3d0
commit b6e47547ee
1 changed files with 1 additions and 1 deletions

View File

@ -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