glew: add missing LDFLAGS and LD

This commit is contained in:
Danny Rawlins 2012-03-18 03:43:41 +11:00
parent f619f9ae2a
commit 35cc488d62

View File

@ -6,11 +6,11 @@
name=glew
version=1.7.0
release=2
release=3
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tgz)
build() {
cd $name-$version
make CC="${CC:-gcc}" CFLAGS.EXTRA="$CFLAGS"
make CC="${CC:-gcc}" LD="${CC:-gcc}" CFLAGS.EXTRA="$CFLAGS" LDFLAGS.EXTRA="$LDFLAGS"
make LIBDIR="$PKG/usr/lib" GLEW_DEST=$PKG/usr install
}