diff options
author | Dan Nicholson <[email protected]> | 2008-07-12 10:04:44 -0700 |
---|---|---|
committer | Dan Nicholson <[email protected]> | 2008-07-12 10:25:40 -0700 |
commit | 3b8081603bf846285e56a6ecafaf182935fd8733 (patch) | |
tree | 150f5908cdcc678808da1e110ec68206b68cafe9 /src/mesa/drivers/beos/Makefile | |
parent | db072baaaf6adcd176ea7e4d67b77177de7eca31 (diff) |
Always pass -linker and -ldflags to mklib for shared libraries
This just makes the use of mklib more consistent throughout Mesa where
we always want to pass the linker and LDFLAGS when we might be making a
shared library.
Diffstat (limited to 'src/mesa/drivers/beos/Makefile')
-rw-r--r-- | src/mesa/drivers/beos/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/beos/Makefile b/src/mesa/drivers/beos/Makefile index f26264de8b6..c79dd24c390 100644 --- a/src/mesa/drivers/beos/Makefile +++ b/src/mesa/drivers/beos/Makefile @@ -181,9 +181,10 @@ $(TOP)/$(LIB_DIR): mkdir $(TOP)/$(LIB_DIR) $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME): $(OBJECTS) $(MESA_MODULES) $(GLU_MODULES) - @$(MKLIB) -o $(GL_LIB) -ldflags '$(LDFLAGS)' -install $(TOP)/$(LIB_DIR) \ + @$(MKLIB) -o $(GL_LIB) -linker '$(CC)' -ldflags '$(LDFLAGS)' \ -major $(MESA_MAJOR) -minor $(MESA_MINOR) -patch $(MESA_TINY) \ - $(MKLIB_OPTIONS) $(GL_LIB_DEPS) $(OBJECTS) $(MESA_MODULES) $(GLU_MODULES) + -install $(TOP)/$(LIB_DIR) $(MKLIB_OPTIONS) $(GL_LIB_DEPS) \ + $(OBJECTS) $(MESA_MODULES) $(GLU_MODULES) # $(GLU_OBJECTS): # cd $(GLU_DIR) && $(MAKE) $< ; |