File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -28,5 +28,5 @@ target_link_libraries(node_filerix PRIVATE
2828)
2929
3030install (TARGETS node_filerix
31- DESTINATION share /filerix
31+ DESTINATION lib/node_modules /filerix
3232)
Original file line number Diff line number Diff line change @@ -10,13 +10,17 @@ echo "Bootstrapping vcpkg..."
1010./vcpkg/bootstrap-vcpkg.sh || { echo " Failed to bootstrap vcpkg" ; exit 1; }
1111
1212echo " Installing dependencies with vcpkg..."
13- ./vcpkg/vcpkg --feature-flags=manifests install || { echo " Failed to install dependencies" ; exit 1; }
13+ ./vcpkg/vcpkg --feature-flags=manifests install --triplet x64-linux-release || { echo " Failed to install dependencies" ; exit 1; }
1414
1515echo " Generating build files with CMake..."
1616mkdir build && cd build
1717cmake .. || { echo " Failed to generate CMake build files" ; exit 1; }
1818
1919echo " Building the project..."
2020cmake --build . --parallel || { echo " Build failed" ; exit 1; }
21+ cd ..
22+
23+ echo " Removing RPATH from filerix.node..."
24+ chrpath --delete ./build/filerix.node || echo " No RPATH to remove"
2125
2226echo " Installation and build complete!"
You can’t perform that action at this time.
0 commit comments