diff options
author | Yosl <yosl@seattlemesh.net> | 2020-07-04 22:45:33 -0400 |
---|---|---|
committer | Yosl <yosl@seattlemesh.net> | 2020-07-04 22:45:33 -0400 |
commit | 337b73d2ed2d8ee0be0d99fbc47d4f609ff32821 (patch) | |
tree | e2ff52be8a0d25b453674f3e86353baf2238cee0 | |
parent | e103965b696fc510cdd3d9bd176fa2053c6fc7e4 (diff) | |
download | gnunet-rpm-337b73d2ed2d8ee0be0d99fbc47d4f609ff32821.tar.gz gnunet-rpm-337b73d2ed2d8ee0be0d99fbc47d4f609ff32821.zip |
use rpm macro for libdir during ./configure
-rw-r--r-- | rpmbuild/SPECS/gnunet-fedora.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmbuild/SPECS/gnunet-fedora.spec b/rpmbuild/SPECS/gnunet-fedora.spec index db90ec8..7e22029 100644 --- a/rpmbuild/SPECS/gnunet-fedora.spec +++ b/rpmbuild/SPECS/gnunet-fedora.spec | |||
@@ -97,7 +97,7 @@ echo "%SHA512SUM0 %SOURCE0" | sha512sum -c - | |||
97 | #%configure | 97 | #%configure |
98 | #%configure --disable-rpath | 98 | #%configure --disable-rpath |
99 | #--prefix=%{_prefix} | 99 | #--prefix=%{_prefix} |
100 | ./configure --prefix=/usr --libdir=/lib64 --disable-rpath --disable-static | 100 | ./configure --prefix=/usr --libdir=/%{_lib} --disable-rpath --disable-static |
101 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool | 101 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
102 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool | 102 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
103 | make clean | 103 | make clean |