summaryrefslogtreecommitdiff
path: root/packages/mesa/mesa-full-7.0.2/mklib-rpath-link.patch
diff options
context:
space:
mode:
authorJohn Lee <john_lee@openmoko.org>2008-08-25 09:05:18 +0000
committerJohn Lee <john_lee@openmoko.org>2008-08-25 09:05:18 +0000
commitad284adbc15624a03ffa9d912bcd59d7ac5c4a0a (patch)
tree59a52194854c8fddd3d4ded9acbb08b31185e0cc /packages/mesa/mesa-full-7.0.2/mklib-rpath-link.patch
parentccb0eb36f2d2d78c68f631812d07af4c0181130d (diff)
mesa-full_7.0.2.bb: modified from mesa_7.0.2 but added libglut and demos.
this recipe will also build glut and demos, xdemos, etc. new packages libglut and mesa-utils added.
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
+
+
+