%configure: export lt_cv_prog_cc_static_works depending on %_disable_static/%_enable_static
This commit is contained in:
parent
b3dbebfa15
commit
03b729ee21
@ -43,6 +43,8 @@
|
||||
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
|
||||
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
|
||||
FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
|
||||
%{?_disable_static:export lt_cv_prog_cc_static_works=no ;} \
|
||||
%{?_enable_static:export lt_cv_prog_cc_static_works=yes ;} \
|
||||
%{?__libtoolize:[ -f configure.ac -o -f configure.in ] && %{__libtoolize} --copy --force ;} \
|
||||
%{_configure_script} %{?_configure_target:%{_configure_target}} \\\
|
||||
--prefix=%{_prefix} \\\
|
||||
|
Loading…
Reference in New Issue
Block a user