Blob Blame History Raw
--- lksctp-tools-1.0.16/src/withsctp/withsctp.in.orig	2014-02-18 10:42:49.000000000 +0000
+++ lksctp-tools-1.0.16/src/withsctp/withsctp.in	2014-05-06 12:24:12.931873787 +0100
@@ -1,6 +1,6 @@
 #!/bin/sh
 # -*- sh -*-
-LIBDIR=@libdir@/@PACKAGE@
+LIBDIR=`rpm --eval "%{_libdir}"`/@PACKAGE@
 BINDIR=@bindir@
 export LD_PRELOAD=${LIBDIR}/libwithsctp.so.1.0.17
 if ! ${BINDIR}/checksctp 2> /dev/null