Commit 857721be authored by lovedheart's avatar lovedheart Committed by Ed Reel

[crew] remove *.la during compilation (#2237)

parent 87b45204
......@@ -439,12 +439,12 @@ def build_and_preconfigure (target_dir)
# Remove /usr/local/lib64/*.la to resolve any "can not find /usr/local/*.la" compile errors when building the packages (only needed for x86_64).
# https://gnunet.org/faq-la-files
# https://stackoverflow.com/questions/42963653/libquadmath-la-is-not-a-valid-libtool-archive-when-configuring-openmpi-with-g
if ARCH == 'x86_64'
if @opt_verbose then
system "rm -rvf #{CREW_LIB_PREFIX}/*.la"
else
system "rm -rf #{CREW_LIB_PREFIX}/*.la"
end
# Since pkgconfig is recompiled, the *.la problem appear also for i686 and armv7l. Remove any .la files to resolve it.
if @opt_verbose then
system "rm -rvf #{CREW_LIB_PREFIX}/*.la"
else
system "rm -rf #{CREW_LIB_PREFIX}/*.la"
end
@pkg.in_build = true
@pkg.preinstall
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment