diff options
Diffstat (limited to 'games-emulation/zsnes/files/1.40-LDFLAGS.patch')
-rw-r--r-- | games-emulation/zsnes/files/1.40-LDFLAGS.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/games-emulation/zsnes/files/1.40-LDFLAGS.patch b/games-emulation/zsnes/files/1.40-LDFLAGS.patch new file mode 100644 index 000000000000..02c4c21330e0 --- /dev/null +++ b/games-emulation/zsnes/files/1.40-LDFLAGS.patch @@ -0,0 +1,21 @@ +--- zsnes_1_40/src/configure.in.orig 2004-12-26 17:10:48.876796648 -0500 ++++ zsnes_1_40/src/configure.in 2004-12-26 17:11:46.142091000 -0500 +@@ -15,8 +15,6 @@ + dnl Mingw, because it doesnt have a standard file tree. Maybe if ming do this + dnl else do -I/usr/include. Or some shit. You figure it out. + +-LDFLAGS="$LDFLAGS -L/usr/local/lib -L/usr/lib" +- + dnl -- Same thing here. + + AC_CANONICAL_SYSTEM +@@ -84,7 +82,9 @@ + CFLAGS="$CFLAGS -I$opengl_prefix/include" + LDFLAGS-"$LDFLAGS -L$opengl_prefix/lib" + fi ++if test x$x_libraries != x; then + LDFLAGS="$LDFLAGS -L$x_libraries" ++fi + AC_CHECK_LIB(GL, glGetError,found_opengl="yes",,) + if test x$found_opengl = xyes; then + echo checking for OpenGL... yes |