Skip to content

Commit

Permalink
use absolute paths?
Browse files Browse the repository at this point in the history
  • Loading branch information
jraymakers committed Jun 30, 2024
1 parent 8c5e6ac commit f9624f9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
8 changes: 4 additions & 4 deletions alt/bindings/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
'copies': [
{
'files': ['<(module_root_dir)/libduckdb/libduckdb.so'],
'destination': 'package/lib',
'destination': '<(module_root_dir)/package/lib',
},
],
}],
Expand All @@ -69,7 +69,7 @@
'copies': [
{
'files': ['<(module_root_dir)/libduckdb/libduckdb.dylib'],
'destination': 'package/lib',
'destination': '<(module_root_dir)/package/lib',
},
],
}],
Expand All @@ -82,7 +82,7 @@
'copies': [
{
'files': ['<(module_root_dir)/libduckdb/libduckdb.dll'],
'destination': 'package/lib',
'destination': '<(module_root_dir)/package/lib',
},
],
}],
Expand All @@ -95,7 +95,7 @@
'copies': [
{
'files': ['<(module_root_dir)/build/Release/duckdb.node'],
'destination': 'package/lib',
'destination': '<(module_root_dir)/package/lib',
},
],
}
Expand Down
3 changes: 2 additions & 1 deletion alt/bindings/scripts/fetch_libduckdb_linux.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import os
from fetch_libduckdb import fetch_libduckdb

zip_url = "https://github.com/duckdb/duckdb/releases/download/v1.0.0/libduckdb-linux-amd64.zip"
output_dir = "libduckdb"
output_dir = os.path.join(os.path.dirname(__file__), "..", "libduckdb")
files = [
"duckdb.h",
"libduckdb.so",
Expand Down
3 changes: 2 additions & 1 deletion alt/bindings/scripts/fetch_libduckdb_mac.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import os
from fetch_libduckdb import fetch_libduckdb

zip_url = "https://github.com/duckdb/duckdb/releases/download/v1.0.0/libduckdb-osx-universal.zip"
output_dir = "libduckdb"
output_dir = os.path.join(os.path.dirname(__file__), "..", "libduckdb")
files = [
"duckdb.h",
"libduckdb.dylib",
Expand Down
3 changes: 2 additions & 1 deletion alt/bindings/scripts/fetch_libduckdb_win.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import os
from fetch_libduckdb import fetch_libduckdb

zip_url = "https://github.com/duckdb/duckdb/releases/download/v1.0.0/libduckdb-windows-amd64.zip"
output_dir = "libduckdb"
output_dir = os.path.join(os.path.dirname(__file__), "..", "libduckdb")
files = [
"duckdb.h",
"duckdb.lib",
Expand Down

0 comments on commit f9624f9

Please sign in to comment.