Skip to content

Commit

Permalink
Update dylib paths for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
chances committed Sep 26, 2023
1 parent cf7b3c9 commit ef8b64b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/cube/dub.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
],
"postBuildCommands-osx": [
"echo Fixing up libwgpu dylib path...",
"install_name_tool -change /Users/runner/work/wgpu-native/wgpu-native/target/x86_64-apple-darwin/debug/deps/libwgpu_native.dylib @executable_path/../lib/libwgpu.dylib `find $PACKAGE_DIR/../../bin -name '*cube'`"
"install_name_tool -change /Users/runner/work/wgpu-native/wgpu-native/target/x86_64-apple-darwin/debug/deps/libwgpu_native.dylib @executable_path/../lib/libwgpu_native.dylib `find $PACKAGE_DIR/../../bin -name '*cube'`"
]
}
2 changes: 1 addition & 1 deletion examples/headless/dub.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
],
"postBuildCommands-osx": [
"echo Fixing up libwgpu dylib path...",
"install_name_tool -change /Users/runner/work/wgpu-native/wgpu-native/target/x86_64-apple-darwin/debug/deps/libwgpu_native.dylib @executable_path/../lib/libwgpu.dylib `find $PACKAGE_DIR/../../bin -name '*headless'`"
"install_name_tool -change /Users/runner/work/wgpu-native/wgpu-native/target/x86_64-apple-darwin/debug/deps/libwgpu_native.dylib @executable_path/../lib/libwgpu_native.dylib `find $PACKAGE_DIR/../../bin -name '*headless'`"
]
}
2 changes: 1 addition & 1 deletion examples/triangle/dub.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
],
"postBuildCommands-osx": [
"echo Fixing up libwgpu dylib path...",
"install_name_tool -change /Users/runner/work/wgpu-native/wgpu-native/target/x86_64-apple-darwin/debug/deps/libwgpu_native.dylib @executable_path/lib/libwgpu.dylib `find $PACKAGE_DIR/../../bin -name '*triangle'`"
"install_name_tool -change /Users/runner/work/wgpu-native/wgpu-native/target/x86_64-apple-darwin/debug/deps/libwgpu_native.dylib @executable_path/lib/libwgpu_native.dylib `find $PACKAGE_DIR/../../bin -name '*triangle'`"
],
"libs": ["glfw3"],
"libs-linux": [
Expand Down

0 comments on commit ef8b64b

Please sign in to comment.