summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/osmesa/Makefile
diff options
context:
space:
mode:
authorDan Nicholson <[email protected]>2008-07-11 13:54:48 -0700
committerDan Nicholson <[email protected]>2008-07-12 10:25:40 -0700
commitdb072baaaf6adcd176ea7e4d67b77177de7eca31 (patch)
tree03d44046fa8e50f0bbd23bd283dd3d6a7b480d91 /src/mesa/drivers/osmesa/Makefile
parent4f5d97ee9eae6f2adf27e2297f955b601483d61b (diff)
Call mklib with $(SHELL) so the user controls the interpreter
Respect the user's choice of shell when running mklib rather than always using /bin/sh.
Diffstat (limited to 'src/mesa/drivers/osmesa/Makefile')
-rw-r--r--src/mesa/drivers/osmesa/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/drivers/osmesa/Makefile b/src/mesa/drivers/osmesa/Makefile
index fa8dffcb3ef..97f2b25a149 100644
--- a/src/mesa/drivers/osmesa/Makefile
+++ b/src/mesa/drivers/osmesa/Makefile
@@ -45,8 +45,7 @@ default:
osmesa8: $(TOP)/lib/$(OSMESA_LIB_NAME)
$(TOP)/lib/$(OSMESA_LIB_NAME): $(OBJECTS)
- $(TOP)/bin/mklib -o $(OSMESA_LIB) \
- -linker "$(CC)" \
+ $(MKLIB) -o $(OSMESA_LIB) -linker "$(CC)" \
-major $(MESA_MAJOR) -minor $(MESA_MINOR) -patch $(MESA_TINY) \
-install $(TOP)/$(LIB_DIR) \
$(MKLIB_OPTIONS) \
@@ -58,8 +57,7 @@ $(TOP)/lib/$(OSMESA_LIB_NAME): $(OBJECTS)
# The libOSMesa16/libOSMesa32 libraries do not use libGL but rather are built
# with all the other Mesa sources (compiled with -DCHAN_BITS=16/32
osmesa16: $(OBJECTS) $(CORE_MESA)
- $(TOP)/bin/mklib -o $(OSMESA_LIB) \
- -linker "$(CC)" \
+ $(MKLIB) -o $(OSMESA_LIB) -linker "$(CC)" \
-major $(MESA_MAJOR) -minor $(MESA_MINOR) -patch $(MESA_TINY) \
-install $(TOP)/$(LIB_DIR) \
$(MKLIB_OPTIONS) \