Skip to content

Commit

Permalink
draupnir: init at 2.0.0-beta.6
Browse files Browse the repository at this point in the history
  • Loading branch information
winterqt committed Sep 18, 2024
1 parent 131a494 commit c919241
Show file tree
Hide file tree
Showing 4 changed files with 7,424 additions and 0 deletions.
33 changes: 33 additions & 0 deletions pkgs/by-name/dr/draupnir/better-sqlite3-dynamic-link.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
diff --git a/binding.gyp b/binding.gyp
index f2a910e..3d77f44 100644
--- a/binding.gyp
+++ b/binding.gyp
@@ -3,15 +3,15 @@
# ===

{
- 'includes': ['deps/common.gypi'],
'targets': [
{
'target_name': 'better_sqlite3',
- 'dependencies': ['deps/sqlite3.gyp:sqlite3'],
'sources': ['src/better_sqlite3.cpp'],
'cflags_cc': ['-std=c++17'],
+ 'ldflags': ['<!@(pkg-config sqlite3 --libs)'],
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS': ['-std=c++17', '-stdlib=libc++'],
+ 'OTHER_LDFLAGS': ['<!@(pkg-config sqlite3 --libs)'],
},
'msvs_settings': {
'VCCLCompilerTool': {
@@ -29,10 +29,5 @@
}],
],
},
- {
- 'target_name': 'test_extension',
- 'dependencies': ['deps/sqlite3.gyp:sqlite3'],
- 'conditions': [['sqlite3 == ""', { 'sources': ['deps/test_extension.c'] }]],
- },
],
}
Loading

0 comments on commit c919241

Please sign in to comment.