summaryrefslogtreecommitdiff
path: root/src/glut/fbdev/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/glut/fbdev/Makefile')
-rw-r--r--src/glut/fbdev/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glut/fbdev/Makefile b/src/glut/fbdev/Makefile
index d84d52ec48f3..948be0c7ba38 100644
--- a/src/glut/fbdev/Makefile
+++ b/src/glut/fbdev/Makefile
@@ -63,7 +63,7 @@ default: depend $(TOP)/$(LIB_DIR)/$(GLUT_LIB_NAME)
# Make the library
$(TOP)/$(LIB_DIR)/$(GLUT_LIB_NAME): depend $(OBJECTS)
- $(TOP)/bin/mklib -o $(GLUT_LIB) -linker '$(CC)' \
+ $(TOP)/bin/mklib -o $(GLUT_LIB) -linker '$(CC)' -ldflags '$(LDFLAGS)' \
-major $(GLUT_MAJOR) -minor $(GLUT_MINOR) -patch $(GLUT_TINY) \
$(GLUT_LIB_DEPS) -install $(TOP)/$(LIB_DIR) \
$(MKLIB_OPTIONS) $(OBJECTS)