summaryrefslogtreecommitdiff
path: root/packages/mesa/mesa-full-7.0.2/mklib-rpath-link.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-08-25 12:35:41 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-08-25 12:35:41 +0000
commit64ff4d57e39e9fad1385c00b4665afa5d66c75f3 (patch)
treead51678b0114a7afc784507cc686efa5a5980fd3 /packages/mesa/mesa-full-7.0.2/mklib-rpath-link.patch
parent170632400a39c176bb6678cfaa63f12c2b28d9ab (diff)
parentad284adbc15624a03ffa9d912bcd59d7ac5c4a0a (diff)
merge of '19345cff74205f76f6a9f18a8cbd4dd6bb2f4298'
and 'ae7c41d4de5eda76de5c1cb6a2a4fe160fbc9a1d'
Diffstat (limited to 'packages/mesa/mesa-full-7.0.2/mklib-rpath-link.patch')
-rw-r--r--packages/mesa/mesa-full-7.0.2/mklib-rpath-link.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/mesa/mesa-full-7.0.2/mklib-rpath-link.patch b/packages/mesa/mesa-full-7.0.2/mklib-rpath-link.patch
new file mode 100644
index 0000000000..618f5b57ed
--- /dev/null
+++ b/packages/mesa/mesa-full-7.0.2/mklib-rpath-link.patch
@@ -0,0 +1,23 @@
+--- /tmp/mklib 2007-12-08 11:03:23.000000000 +0100
++++ Mesa-7.0.2/bin/mklib 2007-12-08 11:04:02.509863000 +0100
+@@ -106,6 +106,9 @@
+ -L*)
+ DEPS="$DEPS $1"
+ ;;
++ -Wl*)
++ DEPS="$DEPS $1"
++ ;;
+ -pthread)
+ # this is a special case (see bugzilla 10876)
+ DEPS="$DEPS $1"
+--- /tmp/default 2007-12-08 11:04:17.000000000 +0100
++++ Mesa-7.0.2/configs/default 2007-12-08 11:05:06.279863000 +0100
+@@ -76,7 +76,7 @@
+ GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lXt -lX11
+
+ # Program dependencies - specific GL/glut libraries added in Makefiles
+-APP_LIB_DEPS = -lm
++APP_LIB_DEPS = $(EXTRA_LIB_PATH) -lm
+
+
+