Adapts bindings to node-cmake v2, resolves #3879

This commit is contained in:
Daniel J. Hofmann
2017-04-06 11:59:16 +02:00
parent 98948989d0
commit 603e2ee7de
13 changed files with 645 additions and 1080 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ if [[ ${PUBLISH} == 'On' ]]; then
# enforce that binary has proper ORIGIN flags so that
# it can portably find libtbb.so in the same directory
if [[ $(uname -s) == 'Linux' ]]; then
readelf -d ./lib/binding/node-osrm.node > readelf-output.txt
readelf -d ./lib/binding/node_osrm.node > readelf-output.txt
if grep -q 'Flags: ORIGIN' readelf-output.txt; then
echo "Found ORIGIN flag in readelf output"
cat readelf-output.txt