commit 337b73d2ed2d8ee0be0d99fbc47d4f609ff32821
parent e103965b696fc510cdd3d9bd176fa2053c6fc7e4
Author: Yosl <yosl@seattlemesh.net>
Date: Sat, 4 Jul 2020 22:45:33 -0400
use rpm macro for libdir during ./configure
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rpmbuild/SPECS/gnunet-fedora.spec b/rpmbuild/SPECS/gnunet-fedora.spec
@@ -97,7 +97,7 @@ echo "%SHA512SUM0 %SOURCE0" | sha512sum -c -
#%configure
#%configure --disable-rpath
#--prefix=%{_prefix}
-./configure --prefix=/usr --libdir=/lib64 --disable-rpath --disable-static
+./configure --prefix=/usr --libdir=/%{_lib} --disable-rpath --disable-static
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make clean