summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-01-19 18:06:30 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-01-19 18:06:30 +0000
commit6bf808bc6c074028b51a98928b4883648c6dac05 (patch)
tree2b1700f426f525b693fa1f87abba8a925e6e0c0c /src
parent9c0b83556dae35cf7260567f30fc156efa8c9742 (diff)
replace -lm with $(GL_LIB_DEPS) to get -lexpat
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/mga/Makefile.solo2
-rw-r--r--src/mesa/drivers/dri/radeon/Makefile.solo2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/mga/Makefile.solo b/src/mesa/drivers/dri/mga/Makefile.solo
index 3c6afbc3246..326e64a8fe9 100644
--- a/src/mesa/drivers/dri/mga/Makefile.solo
+++ b/src/mesa/drivers/dri/mga/Makefile.solo
@@ -96,7 +96,7 @@ INCLUDE_DIRS = \
targets: depend mga_dri.so
mga_dri.so: $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile.solo
- rm -f $@ && gcc -o $@ -shared $(OBJECTS) $(MESA_MODULES) $(WINOBJ) $(WINLIB) -lc -lm
+ rm -f $@ && gcc -o $@ -shared $(OBJECTS) $(MESA_MODULES) $(WINOBJ) $(WINLIB) -lc $(GL_LIB_DEPS)
rm -f $(TOP)/lib/mga_dri.so && \
install mga_dri.so $(TOP)/lib/mga_dri.so
diff --git a/src/mesa/drivers/dri/radeon/Makefile.solo b/src/mesa/drivers/dri/radeon/Makefile.solo
index 8ff68c76905..508b476967b 100644
--- a/src/mesa/drivers/dri/radeon/Makefile.solo
+++ b/src/mesa/drivers/dri/radeon/Makefile.solo
@@ -128,7 +128,7 @@ INCLUDE_DIRS = \
targets: depend $(TARGET)
$(TARGET): $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile.solo
- rm -f $@ && gcc -o $@ -shared $(OBJECTS) $(MESA_MODULES) $(WINOBJ) $(WINLIB) -lc -lm
+ rm -f $@ && gcc -o $@ -shared $(OBJECTS) $(MESA_MODULES) $(WINOBJ) $(WINLIB) -lc $(GL_LIB_DEPS)
rm -f $(TOP)/lib/$(TARGET) && \
install $(TARGET) $(TOP)/lib/$(TARGET)