forked from ports/contrib
glew: add missing LDFLAGS and LD
This commit is contained in:
parent
f619f9ae2a
commit
35cc488d62
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user