From 083e1f7dd79301fa8fabe1903b7bcad0493df09a Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 27 Mar 2013 14:52:38 -0400 Subject: [PATCH] add the patch consarn it --- mesa-demos-as-needed.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 mesa-demos-as-needed.patch diff --git a/mesa-demos-as-needed.patch b/mesa-demos-as-needed.patch new file mode 100644 index 0000000..f037f84 --- /dev/null +++ b/mesa-demos-as-needed.patch @@ -0,0 +1,13 @@ +diff -up mesa-demos-8.1.0/configure.ac.jx mesa-demos-8.1.0/configure.ac +--- mesa-demos-8.1.0/configure.ac.jx 2013-02-24 05:49:47.000000000 -0500 ++++ mesa-demos-8.1.0/configure.ac 2013-03-27 14:41:42.493936005 -0400 +@@ -267,6 +267,9 @@ cygwin*) + ;; + esac + ++dnl i am somewhat surprised this works ++DEMO_LIBS="-Wl,--as-needed $DEMO_LIBS" ++ + AC_SUBST([DEMO_CFLAGS]) + AC_SUBST([DEMO_LIBS]) + AC_SUBST([EGL_CFLAGS])