summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2009-02-16 14:34:43 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2009-02-16 14:34:43 (GMT)
commit0ed1cda62f39878c72e3d6ff39b979e015214822 (patch)
tree202bb0dfc5820deed9be81f9bccac4907fb86c8b
parent7b6f70bcdfa1a66452c8b8b4c0cff03266c37776 (diff)
downloadmxe-0ed1cda62f39878c72e3d6ff39b979e015214822.zip
mxe-0ed1cda62f39878c72e3d6ff39b979e015214822.tar.gz
mxe-0ed1cda62f39878c72e3d6ff39b979e015214822.tar.bz2
use ranlib to build the library of package glew
-rw-r--r--src/glew.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glew.mk b/src/glew.mk
index b5e53f1..efee4cb 100644
--- a/src/glew.mk
+++ b/src/glew.mk
@@ -18,6 +18,7 @@ endef
define $(PKG)_BUILD
cd '$(1)' && $(TARGET)-gcc -O2 -DGLEW_STATIC -Iinclude -c -o glew.o src/glew.c
cd '$(1)' && $(TARGET)-ar cr libGLEW.a glew.o
+ $(TARGET)-ranlib '$(1)/libGLEW.a'
install -d '$(PREFIX)/$(TARGET)/lib'
install -m644 '$(1)/libGLEW.a' '$(PREFIX)/$(TARGET)/lib/'
install -m644 '$(1)/libGLEW.a' '$(PREFIX)/$(TARGET)/lib/libglew32s.a'