]> git.pld-linux.org Git - packages/allegro.git/commitdiff
- avoid -L/usr/lib poisoning
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 16 Apr 2006 20:27:11 +0000 (20:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    allegro-config.patch -> 1.1

allegro-config.patch [new file with mode: 0644]

diff --git a/allegro-config.patch b/allegro-config.patch
new file mode 100644 (file)
index 0000000..81c127d
--- /dev/null
@@ -0,0 +1,29 @@
+--- allegro-4.2.0/misc/allegro-config.in.orig  2006-04-16 21:20:38.000000000 +0200
++++ allegro-4.2.0/misc/allegro-config.in       2006-04-16 21:38:38.000000000 +0200
+@@ -13,6 +13,7 @@
+ prefix=@prefix@
+ exec_prefix=$prefix
++libdir=@libdir@
+ exec_prefix_set=no
+ include_prefix=@INCLUDE_PREFIX@
+@@ -178,11 +179,15 @@
+ fi
+ if test "$echo_libs" = "yes"; then
+-   libdirs=-L${exec_prefix}/lib
++   if test "$exec_prefix" = "/usr"; then
++      libdirs=
++   else
++      libdirs="-L${libdir}"
++   fi
+    if test "$static_libs" = "yes"; then
+-      echo $libdirs $allegro_ldflags -l${lib_type} $allegro_libs
++      echo $libdirs$allegro_ldflags -l${lib_type} $allegro_libs
+    else
+-      echo $libdirs $allegro_ldflags -l${lib_type}-${version} -l${lib_type}_unsharable
++      echo $libdirs$allegro_ldflags -l${lib_type}-${version} -l${lib_type}_unsharable
+    fi
+ fi
This page took 0.140482 seconds and 4 git commands to generate.