summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2018-03-22 07:43:19 (GMT)
committerTony Theodore <tonyt@logyst.com>2018-03-22 07:43:19 (GMT)
commit09c6ebcb003b9e821ff09c54dbc5addbd4a6b104 (patch)
treeb135eb28fa7d8cb23db71746eff5fc7459769217 /src
parent3b2f763188ed059b1706fec9f85531b8ce937f2d (diff)
downloadmxe-09c6ebcb003b9e821ff09c54dbc5addbd4a6b104.zip
mxe-09c6ebcb003b9e821ff09c54dbc5addbd4a6b104.tar.gz
mxe-09c6ebcb003b9e821ff09c54dbc5addbd4a6b104.tar.bz2
openblas: install headers separately
Diffstat (limited to 'src')
-rw-r--r--src/openblas.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openblas.mk b/src/openblas.mk
index 368f28a..09b35eb 100644
--- a/src/openblas.mk
+++ b/src/openblas.mk
@@ -11,9 +11,11 @@ $(PKG)_DEPS := cc pthreads
# openblas has it's own optimised versions of netlib lapack that
# it bundles into -lopenblas so won't conflict with those libs
+# headers do conflict so install to separate directory
$(PKG)_MAKE_OPTS = \
PREFIX='$(PREFIX)/$(TARGET)' \
+ OPENBLAS_INCLUDE_DIR='$(PREFIX)/$(TARGET)/include/openblas' \
CROSS_SUFFIX='$(TARGET)-' \
FC='$(TARGET)-gfortran' \
CC='$(TARGET)-gcc' \