lksctp-tools/lksctp-tools-1.0.19-libdir.patch
Xin Long d3185c9034 fix undeclared file conflicts
The issue happens when installing both i686 and x86_64 lksctp-tools rpms.
It is caused by one missing old patch, so fix it by bringing it back.

Related: rhbz#2031786

Signed-off-by: Xin Long <lxin@redhat.com>
2022-05-18 15:23:34 -04:00

11 lines
429 B
Diff

--- 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@
LIBVER=@LIBWITHSCTP_CURRENT@.@LIBWITHSCTP_AGE@.@LIBWITHSCTP_REVISION@
export LD_PRELOAD=${LIBDIR}/libwithsctp.so.${LIBVER}