diff options
Diffstat (limited to 'meta/recipes-graphics/mesa/qemugl/remove-x11r6-lib-dir.patch')
-rw-r--r-- | meta/recipes-graphics/mesa/qemugl/remove-x11r6-lib-dir.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/meta/recipes-graphics/mesa/qemugl/remove-x11r6-lib-dir.patch b/meta/recipes-graphics/mesa/qemugl/remove-x11r6-lib-dir.patch deleted file mode 100644 index d24d0455d9..0000000000 --- a/meta/recipes-graphics/mesa/qemugl/remove-x11r6-lib-dir.patch +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | Remove X11R6 lib directory | ||
2 | |||
3 | "-L/usr/X11R6/lib" is obsolate in poky. Poky currently use Xserver from X.org (X11R7.x), which puts lib in standard /usr/lib, so no need to specify the extra -L/usr/X11R6/lib. Meanwhile, the -L/usr/X11R6/lib will cause warning: library search path "/usr/X11R6/lib" is unsafe for cross-compilation. so better to remove it. | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | |||
7 | Signed-off-by: Yu Ke <ke.yu@intel.com> | ||
8 | |||
9 | diff --git a/Makefile b/Makefile | ||
10 | index 9e5a8ea..f3a082a 100644 | ||
11 | --- a/Makefile | ||
12 | +++ b/Makefile | ||
13 | @@ -3,7 +3,7 @@ GL_CFLAGS := -Wall -g -O2 -fno-strict-aliasing | ||
14 | all: libGL.so.1.2 | ||
15 | |||
16 | libGL.so.1.2: client_stub.c opengl_client.c glgetv_cst.h opengl_func.h opengl_utils.h opengl_client_xfonts.c mesa_gl.h mesa_glext.h mesa_glx.h mesa_glxext.h | ||
17 | - $(CC) -fPIC $(GL_CFLAGS) opengl_client.c -shared -o libGL.so.1.2 -lX11 -lXfixes -lm -L$(D)/usr/X11R6/lib -lpthread -I. | ||
18 | + $(CC) -fPIC $(GL_CFLAGS) opengl_client.c -shared -o libGL.so.1.2 -lX11 -lXfixes -lm -lpthread -I. | ||
19 | |||
20 | opengl_func.h: gl_func.h | ||
21 | |||