diff --git a/mysql.spec b/mysql.spec index ec88a2c..98e795e 100644 --- a/mysql.spec +++ b/mysql.spec @@ -491,7 +491,8 @@ cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} \ -DTMPDIR=/var/tmp \ -DWITH_MYSQLD_LDFLAGS="%{build_ldflags}" \ -DCMAKE_C_LINK_FLAGS="%{build_ldflags}" \ - -DCMAKE_CXX_LINK_FLAGS="%{build_ldflags}" + -DCMAKE_CXX_LINK_FLAGS="%{build_ldflags}" \ + -DCMAKE_SKIP_INSTALL_RPATH=YES # Note: linking with GOLD disabled on Armv7hl because of https://bugs.mysql.com/bug.php?id=96698