Adapts bindings to node-cmake v2, resolves #3879
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user