]> git.pld-linux.org Git - packages/allegro.git/blob - allegro-config.patch
- 4.3.1
[packages/allegro.git] / allegro-config.patch
1 --- allegro-4.2.0/misc/allegro-config.in.orig   2006-04-16 21:20:38.000000000 +0200
2 +++ allegro-4.2.0/misc/allegro-config.in        2006-04-16 21:38:38.000000000 +0200
3 @@ -13,6 +13,7 @@
4  
5  prefix=@prefix@
6  exec_prefix=$prefix
7 +libdir=@libdir@
8  exec_prefix_set=no
9  include_prefix=@INCLUDE_PREFIX@
10  
11 @@ -178,11 +179,15 @@
12  fi
13  
14  if test "$echo_libs" = "yes"; then
15 -   libdirs=-L${exec_prefix}/lib
16 +   if test "$exec_prefix" = "/usr"; then
17 +      libdirs=
18 +   else
19 +      libdirs="-L${libdir}"
20 +   fi
21     if test "$static_libs" = "yes"; then
22 -      echo $libdirs $allegro_ldflags -l${lib_type} $allegro_libs
23 +      echo $libdirs$allegro_ldflags -l${lib_type} $allegro_libs
24     else
25 -      echo $libdirs $allegro_ldflags -l${lib_type}-${version} -l${lib_type}_unsharable
26 +      echo $libdirs$allegro_ldflags -l${lib_type}-${version} -l${lib_type}_unsharable
27     fi
28  fi
29  
This page took 0.227865 seconds and 3 git commands to generate.