qiv: obey our LDFLAGS

This commit is contained in:
Toyam Cox 2016-06-20 11:38:29 -04:00
parent a722830f93
commit 7ab0a80f71
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'qiv'
pkgname=qiv
version=2.3.1
revision=2
revision=3
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="file-devel gtk+-devel libexif-devel lcms2-devel imlib2-devel"
@ -19,6 +19,10 @@ do_configure() {
sed -i "s|install -s|install|" Makefile
}
pre_build() {
export CFLAGS="$CFLAGS $LDFLAGS"
}
do_install() {
make install PREFIX=$DESTDIR/usr
}