Avoid hardcoding path to libtool

epel9
Kalev Lember 6 years ago
parent feddbdb4f0
commit 47fc65a812

@ -117,7 +117,7 @@ CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64"
make %{?_smp_mflags} LIBTOOL=%{_bindir}/libtool make %{?_smp_mflags} LIBTOOL=%{_bindir}/libtool
%install %install
make LIBTOOL=%{_bindir}/libtool DESTDIR=%{buildroot} install make LIBTOOL=`which libtool` DESTDIR=%{buildroot} install
%if %{oldrhel} %if %{oldrhel}
rm -rf %{buildroot}/%{_lib}/*.la rm -rf %{buildroot}/%{_lib}/*.la
rm -rf %{buildroot}/%{_lib}/*.a rm -rf %{buildroot}/%{_lib}/*.a

Loading…
Cancel
Save