aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2019-08-08 14:25:04 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2019-08-08 14:25:04 +0100
commit8a70ece28ce0438ee9dd94827b0de349d2fce5c8 (patch)
treead4cfa2fd04be70f90879f1a709d89923c23b543
parent22f3798b9feee9d108c1ed2adf79942ba2599e30 (diff)
Corrected typo when fixing libffi's installation directory
In the line where we checked if libffi is installed in `lib/' or `lib64/', there was a typo that lead to an incorrect result: we had forgot to add a `-f' to the second check. This is corrected with this commit.
-rw-r--r--reproduce/software/make/python.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/reproduce/software/make/python.mk b/reproduce/software/make/python.mk
index 6952ad0..bb535c0 100644
--- a/reproduce/software/make/python.mk
+++ b/reproduce/software/make/python.mk
@@ -247,7 +247,7 @@ $(ibidir)/libffi: $(tdir)/libffi-$(libffi-version).tar.gz
$(call gbuild, $<, libffi-$(libffi-version), , \
CFLAGS="-DNO_JAVA_RAW_API=1") \
&& if [ -f $(idir)/lib64/libffi.a ] \
- && [ ! $(idir)/lib/libffi.a ]; then \
+ && ! [ -f $(idir)/lib/libffi.a ]; then \
cp $(idir)/lib64/libffi* $(ildir)/; \
fi \
&& echo "Libffi $(libffi-version)" > $@