diff SDL.spec.in @ 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 27cab50ec9c7
children 17376128fb56
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