summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-09-08 15:03:55 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-09-08 15:03:55 +0200
commit00a1c6118b2d64b867c8e640c295462bcccfc7c9 (patch)
tree8c63614da2bb42eda8cf02a9a2c0993a31de5a52 /build
parent435bb62f6fc3d6e7b13e774fba5ea27b22632d3f (diff)
downloadastra-00a1c6118b2d64b867c8e640c295462bcccfc7c9.tar.gz
astra-00a1c6118b2d64b867c8e640c295462bcccfc7c9.tar.bz2
astra-00a1c6118b2d64b867c8e640c295462bcccfc7c9.tar.xz
astra-00a1c6118b2d64b867c8e640c295462bcccfc7c9.zip
Add macOS note
Diffstat (limited to 'build')
-rw-r--r--build/linux/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/linux/Makefile.in b/build/linux/Makefile.in
index 1c0c56a..c83e9f0 100644
--- a/build/linux/Makefile.in
+++ b/build/linux/Makefile.in
@@ -308,7 +308,9 @@ mex: $(MATLAB_MEX)
ifeq ($(install_type),module)
ifeq ($(macos),yes)
@# tell macOS dynamic loader to look in mex directory for libastra.0.dylib
- install_name_tool -change `otool -DX .libs/$(SONAME)` @loader_path/$(SONAME) $@
+ @# CHECKME: some versions of otool return a two-line output for otool -DX?
+ @# (xcode 8.2.1 / macos 10.11.6 ?)
+ install_name_tool -change `otool -DX .libs/$(SONAME) | tail -n 1` @loader_path/$(SONAME) $@
endif
endif