Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit ea09b78

Browse files
author
Simon Hofmann
committed
Updated rpath on Linux to also handle sub dir
1 parent da8d708 commit ea09b78

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

binding.gyp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
{
7272
"link_settings": {
7373
"libraries": [
74-
"-Wl,-rpath,@loader_path/."
74+
"-Wl,-rpath,@loader_path",
7575
],
7676
}
7777
}
@@ -80,7 +80,8 @@
8080
{
8181
"link_settings": {
8282
"libraries": [
83-
"-Wl,-rpath,'$$ORIGIN'"
83+
"-Wl,-rpath,'$$ORIGIN'",
84+
"-Wl,-rpath,'$$ORIGIN'/.."
8485
],
8586
}
8687
}

package-lock.json

Lines changed: 9 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opencv4nodejs-prebuilt",
3-
"version": "4.15.1",
3+
"version": "4.15.2",
44
"description": "This is a fork of opencv4nodejs which provides pre-built binaries",
55
"keywords": [
66
"opencv",
@@ -43,6 +43,7 @@
4343
},
4444
"gypfile": true,
4545
"dependencies": {
46+
"@nut-tree/opencv-build-darwin": "^3.4.6-patch",
4647
"macro-inferno": "^0.2.3",
4748
"nan": "^2.12.1",
4849
"native-node-utils": "^0.1.5",

0 commit comments

Comments
 (0)