Mercurial > sdl-ios-xcode
changeset 3929:56ec4d962487 SDL-1.2
Date: Sat, 31 Mar 2007 16:39:52 +0200
From: Bert Wesarg
To: sdl@lists.libsdl.org
Subject: [SDL] [PATCH] sdl-config.in needs ${libdir}
Hello,
after the patch for Bug #321, sdl-config.in needs the libdir variable. and
there is a hardcoded 'lib' in SDL.spec.in too.
Bert Wesarg
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sun, 01 Apr 2007 03:27:45 +0000 |
parents | 6a62cbdd65f5 |
children | 79a4c9017550 |
files | SDL.spec.in sdl-config.in |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/SDL.spec.in Fri Mar 30 20:09:55 2007 +0000 +++ b/SDL.spec.in Sun Apr 01 03:27:45 2007 +0000 @@ -54,7 +54,7 @@ includedir=$RPM_BUILD_ROOT%{_includedir} \ datadir=$RPM_BUILD_ROOT%{_datadir} \ mandir=$RPM_BUILD_ROOT%{_mandir} -ln -s libSDL-1.2.so.0 $RPM_BUILD_ROOT%{prefix}/lib/libSDL-1.1.so.0 +ln -s libSDL-1.2.so.0 $RPM_BUILD_ROOT%{_libdir}/libSDL-1.1.so.0 %else %makeinstall %endif
--- a/sdl-config.in Fri Mar 30 20:09:55 2007 +0000 +++ b/sdl-config.in Sun Apr 01 03:27:45 2007 +0000 @@ -3,6 +3,7 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ exec_prefix_set=no +libdir=@libdir@ @ENABLE_STATIC_FALSE@usage="\ @ENABLE_STATIC_FALSE@Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs]"