summaryrefslogtreecommitdiff
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
commit21e7eeec7675e7d3762b1f4f5f3c0137160cae37 (patch)
tree55efbd751f192ac8f9ba2ecfad96017c526145be
parentf5a0bf9dd30ca49e0e35e8c9423b25006409342e (diff)
add support for LDFLAGS env var
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c32fc0c..727c583 100644
--- a/Makefile
+++ b/Makefile
@@ -48,7 +48,7 @@ clean:
# Make the library
$(TOP)/$(LIB_DIR)/$(GLW_LIB_NAME): $(OBJECTS)
- $(TOP)/bin/mklib -o $(GLW_LIB) -linker '$(CC)' \
+ $(TOP)/bin/mklib -o $(GLW_LIB) -linker '$(CC)' -ldflags '$(LDFLAGS)' \
-major $(MAJOR) -minor $(MINOR) -patch $(TINY) \
$(MKLIB_OPTIONS) -install $(TOP)/$(LIB_DIR) \
$(GLW_LIB_DEPS) $(OBJECTS)