summaryrefslogtreecommitdiffstats
path: root/src/glx/mini
diff options
context:
space:
mode:
authorDan Nicholson <[email protected]>2007-09-28 18:42:21 -0600
committerBrian <[email protected]>2007-09-28 18:42:21 -0600
commit2a3e33865dd9a3d064a3c0af94ef11d4aa4a6ce4 (patch)
tree340934443ff1acfa3100001391a55e24744ad9bf /src/glx/mini
parente776e7a95a4fc4fac95048665ab4c981e153b7fb (diff)
add support for LDFLAGS env var
Diffstat (limited to 'src/glx/mini')
-rw-r--r--src/glx/mini/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/mini/Makefile b/src/glx/mini/Makefile
index 71f085d5cd9..96750d2c248 100644
--- a/src/glx/mini/Makefile
+++ b/src/glx/mini/Makefile
@@ -49,7 +49,7 @@ default: depend $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) $(TOP)/$(LIB_DIR)/miniglx.conf
# Make libGL
$(TOP)/$(LIB_DIR)/$(GL_LIB_NAME): $(OBJECTS) Makefile
- @ $(TOP)/bin/mklib -o $(GL_LIB) -linker '$(CC)' \
+ @ $(TOP)/bin/mklib -o $(GL_LIB) -linker '$(CC)' -ldflags '$(LDFLAGS)' \
-major 1 -minor 2 $(MKLIB_OPTIONS) \
-install $(TOP)/$(LIB_DIR) $(GL_LIB_DEPS) $(OBJECTS) \
$(LIBDRM_LIB) $(PCIACCESS_LIB)