[tw] - readding a bad libtool fix again. because libtool is searching in

/lib and /usr/lib on 64 bit arches for 64 bit libs :-(
This commit is contained in:
Thomas Woerner 2006-05-31 15:49:46 +00:00
parent c640edafab
commit fe460e1ad5

View File

@ -94,11 +94,17 @@ export LDFLAGS="-L${RPM_BUILD_ROOT}%{_libdir}"
--with-thread-pool \
--disable-ltdl-install \
--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql \
--with-rlm-sql-postgresql-lib-dir=%{_libdir} \
--with-rlm-sql_mysql-include-dir=/usr/include/mysql \
--with-mysql-lib-dir=%{_libdir}/mysql \
--with-unixodbc-lib-dir=%{_libdir} \
--with-rlm-dbm-lib-dir=%{_libdir} \
--with-rlm-krb5-include-dir=/usr/kerberos/include
%if "%{_lib}" == "lib64"
perl -pi -e 's:sys_lib_search_path_spec=.*:sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64":' libtool
%endif
make