summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-01-24 16:54:59 +0000
committerJosé Fonseca <jfonseca@vmware.com>2009-01-24 16:54:59 +0000
commitfcf9353fea8343a1a86c8c6e0144c8429440c648 (patch)
treeb9588b10bd2a1bcd1e1a181c64cf0c592059659a
parentefdb7799d31b33ce82f9fdedf43ae17bd68f5c84 (diff)
glew: Build it as a static lib.
-rw-r--r--configs/default2
-rw-r--r--src/glew/Makefile6
2 files changed, 2 insertions, 6 deletions
diff --git a/configs/default b/configs/default
index 6fb8d58820..40f3a2a02d 100644
--- a/configs/default
+++ b/configs/default
@@ -57,7 +57,7 @@ OSMESA_LIB = OSMesa
GL_LIB_NAME = lib$(GL_LIB).so
GLU_LIB_NAME = lib$(GLU_LIB).so
GLUT_LIB_NAME = lib$(GLUT_LIB).so
-GLEW_LIB_NAME = lib$(GLEW_LIB).so
+GLEW_LIB_NAME = lib$(GLEW_LIB).a
GLW_LIB_NAME = lib$(GLW_LIB).so
OSMESA_LIB_NAME = lib$(OSMESA_LIB).so
diff --git a/src/glew/Makefile b/src/glew/Makefile
index c0389df6f1..49ee8b6594 100644
--- a/src/glew/Makefile
+++ b/src/glew/Makefile
@@ -34,11 +34,7 @@ default: $(TOP)/$(LIB_DIR)/$(GLEW_LIB_NAME)
# Make the library
$(TOP)/$(LIB_DIR)/$(GLEW_LIB_NAME): depend $(OBJECTS)
- $(MKLIB) -o $(GLEW_LIB) -linker '$(CC)' -ldflags '$(LDFLAGS)' \
- -major $(MAJOR) -minor $(MINOR) -patch $(TINY) \
- $(MKLIB_OPTIONS) -install $(TOP)/$(LIB_DIR) \
- -id $(INSTALL_LIB_DIR)/lib$(GLEW_LIB).$(MAJOR).dylib \
- $(GLEW_LIB_DEPS) $(OBJECTS)
+ $(MKLIB) -o $(GLEW_LIB) -static -install $(TOP)/$(LIB_DIR) $(OBJECTS)
clean: