summaryrefslogtreecommitdiff
path: root/recipes/mesa/files/mklib-rpath-link.patch
blob: 07361f531a57a1e28897cffc3c15930a902f81dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- Mesa/bin/mklib.orig	2006-06-04 20:56:22.000000000 -0600
+++ Mesa/bin/mklib	2006-06-04 20:57:04.000000000 -0600
@@ -98,6 +98,9 @@
 	-L*)
 	    DEPS="$DEPS $1"
 	    ;;
+	-Wl*)
+	    DEPS="$DEPS $1"
+	    ;;
 	'-cplusplus')
 	    CPLUSPLUS=1
 	    ;;
--- Mesa/configs/default.orig	2006-06-04 21:01:47.000000000 -0600
+++ Mesa/configs/default	2006-06-04 21:01:16.000000000 -0600
@@ -71,4 +71,4 @@
 GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm
 GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lm
 GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lXt -lX11
-APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
+APP_LIB_DEPS = -L$(LIB_DIR) $(EXTRA_LIB_PATH) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm