diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2007-09-28 18:42:21 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-09-28 18:42:21 -0600 |
commit | 2a3e33865dd9a3d064a3c0af94ef11d4aa4a6ce4 (patch) | |
tree | 340934443ff1acfa3100001391a55e24744ad9bf /src/glu | |
parent | e776e7a95a4fc4fac95048665ab4c981e153b7fb (diff) |
add support for LDFLAGS env var
Diffstat (limited to 'src/glu')
-rw-r--r-- | src/glu/mesa/Makefile | 2 | ||||
-rw-r--r-- | src/glu/sgi/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/glu/mesa/Makefile b/src/glu/mesa/Makefile index 611d7a630c..fb377555be 100644 --- a/src/glu/mesa/Makefile +++ b/src/glu/mesa/Makefile @@ -45,7 +45,7 @@ $(TOP)/$(LIB_DIR): # Make the library: $(TOP)/$(LIB_DIR)/$(GLU_LIB_NAME): $(OBJECTS) - @ $(TOP)/bin/mklib -o $(GLU_LIB) -linker '$(CC)' \ + @ $(TOP)/bin/mklib -o $(GLU_LIB) -linker '$(CC)' -ldflags '$(LDFLAGS)' \ -major $(GLU_MAJOR) -minor $(GLU_MINOR) -patch $(GLU_TINY) \ $(MKLIB_OPTIONS) -install $(TOP)/$(LIB_DIR) \ $(GLU_LIB_DEPS) $(OBJECTS) diff --git a/src/glu/sgi/Makefile b/src/glu/sgi/Makefile index 2ce6ac0430..bb1c0a8aba 100644 --- a/src/glu/sgi/Makefile +++ b/src/glu/sgi/Makefile @@ -136,7 +136,7 @@ $(TOP)/$(LIB_DIR): # Make the library: $(TOP)/$(LIB_DIR)/$(GLU_LIB_NAME): $(OBJECTS) - $(TOP)/bin/mklib -o $(GLU_LIB) -linker '$(CXX)' \ + $(TOP)/bin/mklib -o $(GLU_LIB) -linker '$(CXX)' -ldflags '$(LDFLAGS)' \ -major $(GLU_MAJOR) -minor $(GLU_MINOR) -patch $(GLU_TINY) \ -cplusplus $(MKLIB_OPTIONS) -install $(TOP)/$(LIB_DIR) \ $(GLU_LIB_DEPS) $(OBJECTS) |