summaryrefslogtreecommitdiff
path: root/package/x11r7/mesa3d
diff options
context:
space:
mode:
authorClark Rawlins <clark@bit63.org>2009-12-01 08:46:27 -0500
committerPeter Korsgaard <jacmet@sunsite.dk>2009-12-06 20:13:28 +0100
commit249f3db9997de195fa0e62e0236f86e977fcced8 (patch)
treea745573a1a327282956240228bf9b556ae4087da /package/x11r7/mesa3d
parentb5867d93ae9c2264b4cd9bce07623eb45f53c668 (diff)
mesa3d: Pass LDFLAGS to the build config file
Closes #559. Without the LDFLAGS in the build configuration file building mesa3d fails with an external toolchain on amd64 machines targeting i686. The error indicats that libX11 can't be found. This change passes the --sysroot parameter (along with any others specified by buildroot for LDFLAGS to the mklib script. Signed-off-by: Clark Rawlins <clark@bit63.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/x11r7/mesa3d')
-rw-r--r--package/x11r7/mesa3d/mesa3d.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/x11r7/mesa3d/mesa3d.mk b/package/x11r7/mesa3d/mesa3d.mk
index 945765f9c..fa98bf605 100644
--- a/package/x11r7/mesa3d/mesa3d.mk
+++ b/package/x11r7/mesa3d/mesa3d.mk
@@ -49,6 +49,7 @@ $(MESA3D_DIR)/.configured: $(MESA3D_DIR)/.extracted
echo "X11_INCLUDES = " && \
echo "EXTRA_LIB_PATH = " && \
echo "PROGRAM_DIRS =" && \
+ echo "LDFLAGS = $(TARGET_LDFLAGS)" && \
echo "MKDEP_OPTIONS = -fdepend -Y$(STAGING_DIR)/usr/include -I$(MESA_GCCINCLUDE)" \
) >> $(MESA_CONFIG_FILE)
touch $@