summaryrefslogtreecommitdiff
path: root/sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch')
-rw-r--r--sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch b/sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch
new file mode 100644
index 000000000000..e4e6579872e2
--- /dev/null
+++ b/sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch
@@ -0,0 +1,11 @@
+--- a/wrappers/python/build.py.in 2022-10-16 17:54:18.406418600 +0200
++++ b/wrappers/python/build.py.in 2022-10-16 17:54:31.926612653 +0200
+@@ -20,7 +20,7 @@
+ ## Include args
+ incargs = " ".join("-I{}".format(d) for d in incdirs)
+ incargs += " -I@prefix@/include"
+-incargs += " @CPPFLAGS@"
++incargs += " @CPPFLAGS@ @CXXFLAGS@ @LDFLAGS@"
+
+ ## Compile args
+ cmpargs = "" #"@PYEXT_CXXFLAGS@"