Added -linker option to mklib, used to specify a particular program for
[mesa.git] / src / glx / x11 / Makefile
index bca2ee4ffa963c7e5515ddf2eda721abcaf2531c..3ffa4780d46e82b7665b6e290440dcff27ae733c 100644 (file)
@@ -88,7 +88,8 @@ dispatch.c:
 
 # Make libGL
 $(LIB_DIR)/$(GL_LIB_NAME):  $(OBJECTS) Makefile
-       CC="$(CC)" CXX="$(CXX)" $(TOP)/bin/mklib -o $(GL_LIB) -major 1 -minor 2 $(MKLIB_OPTIONS) \
+       $(TOP)/bin/mklib -o $(GL_LIB) -linker $(CC) \
+               -major 1 -minor 2 $(MKLIB_OPTIONS) \
                -install $(LIB_DIR) $(GL_LIB_DEPS) $(OBJECTS)