Fix x86_64 build-install compliance 03/3703/1
authorXavier Roche <xavrock.os@gmail.com>
Tue, 28 May 2013 15:17:53 +0000 (17:17 +0200)
committerXavier Roche <xavrock.os@gmail.com>
Tue, 28 May 2013 15:17:53 +0000 (17:17 +0200)
  - Remove hardcoded library path in specfile (rpath)

packaging/audio-session-manager.spec

index ad0a9d6..69b7bf4 100644 (file)
@@ -46,7 +46,7 @@ auido-session-manager development package for sdk release for audio-session
 %build
 
 %autogen --disable-static --noconfigure
-LDFLAGS="$LDFLAGS -Wl,--rpath=%{prefix}/lib -Wl,--hash-style=both -Wl,--as-needed "; export LDFLAGS
+LDFLAGS="$LDFLAGS -Wl,--rpath=%{_libdir} -Wl,--hash-style=both -Wl,--as-needed "; export LDFLAGS
 CFLAGS="%{optflags} -fvisibility=hidden -DMM_DEBUG_FLAG -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\"" ; export CFLAGS
 %configure --disable-static --enable-security
 make %{?jobs:-j%jobs}