summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Roche <xavrock.os@gmail.com>2013-05-28 17:17:53 +0200
committerXavier Roche <xavrock.os@gmail.com>2013-05-28 17:17:53 +0200
commit69cd4f6d64042552c86c34cf7b5c7cd2d51dac9a (patch)
tree88f67083357935e26a6ba0469ad10a3b4996b42b
parenteb69e930d11ac9bc8dce8af5f790a2d23b8b2092 (diff)
downloadaudio-session-manager-69cd4f6d64042552c86c34cf7b5c7cd2d51dac9a.tar.gz
audio-session-manager-69cd4f6d64042552c86c34cf7b5c7cd2d51dac9a.tar.bz2
audio-session-manager-69cd4f6d64042552c86c34cf7b5c7cd2d51dac9a.zip
Fix x86_64 build-install compliance
- Remove hardcoded library path in specfile (rpath)
-rw-r--r--packaging/audio-session-manager.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/audio-session-manager.spec b/packaging/audio-session-manager.spec
index ad0a9d6..69b7bf4 100644
--- a/packaging/audio-session-manager.spec
+++ b/packaging/audio-session-manager.spec
@@ -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}