summaryrefslogtreecommitdiff
path: root/src/glu/sgi
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2007-09-28 18:42:21 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-09-28 18:42:21 -0600
commit2a3e33865dd9a3d064a3c0af94ef11d4aa4a6ce4 (patch)
tree340934443ff1acfa3100001391a55e24744ad9bf /src/glu/sgi
parente776e7a95a4fc4fac95048665ab4c981e153b7fb (diff)
add support for LDFLAGS env var
Diffstat (limited to 'src/glu/sgi')
-rw-r--r--src/glu/sgi/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glu/sgi/Makefile b/src/glu/sgi/Makefile
index 2ce6ac04300..bb1c0a8aba5 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)