Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

Commit 5f00d63

Browse files
Update bindings to use darknet/libdarknet
1 parent 96d2aec commit 5f00d63

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

binding.gyp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"darknet/include/",
4747
],
4848
'libraries': [
49-
"<(module_root_dir)/libdarknet.so"
49+
"<(module_root_dir)/darknet/libdarknet.so"
5050
],
5151
'dependencies': [
5252
"<!(node -p \"require('node-addon-api').gyp\")"

install-script.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,9 @@ if [ $? -ne 0 ]; then
7676
exit 2;
7777
fi
7878

79-
# copy lib
80-
cp libdarknet* ..
81-
cp -r include/ ..
82-
8379
# dive out
8480
cd ..
8581

86-
# if macos make .dylib symlink
87-
if [[ "$OSTYPE" == "darwin"* ]]; then
88-
ln -s libdarknet.so libdarknet.dylib
89-
fi
90-
9182
if [ $GPU = 1 ]; then
9283
export DARKNET_DEFINES="GPU"
9384
export DARKNET_FLAGS="-L/usr/local/cuda/lib64 -lcuda -lcudart -lcublas -lcurand"

0 commit comments

Comments
 (0)