Commit 71103e6b authored by lovedheart's avatar lovedheart Committed by Ed Reel

Update crew (#2110)

* Update crew

run remove_la_files before compiling packages to resolve any .la related issues

* Update crew

remove la files before installation (x86_64 only)

* Update crew

* Update crew

* Update crew
parent ada02ba9
......@@ -407,6 +407,17 @@ end
def build_and_preconfigure (target_dir)
Dir.chdir target_dir do
puts "Building from source, this may take a while..."
# 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
end
@pkg.in_build = true
@pkg.preinstall
@pkg.patch
......
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