Magellan Linux

Contents of /trunk/smpeg/patches/smpeg-0.4.4-config.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (show annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 472 byte(s)
-import

1 Only dump -L/-rpath if libdir is non-standard
2
3 --- smpeg-config.in
4 +++ smpeg-config.in
5 @@ -45,11 +45,13 @@
6 echo $includes -I@includedir@/smpeg `@SDL_CONFIG@ --cflags`
7 ;;
8 --libs)
9 + if [ "@libdir@" != "/usr/lib" ]; then
10 if [ "`uname`" = "SunOS" ]; then
11 libdirs="-L@libdir@ -R@libdir@"
12 else
13 libdirs="-L@libdir@ @SMPEG_RLD_FLAGS@"
14 fi
15 + fi
16 echo $libdirs -lsmpeg `@SDL_CONFIG@ --libs`
17 ;;
18 *)