aboutsummaryrefslogtreecommitdiff
path: root/databases/mongosh/files/node-modules-patches/patch-node__modules_mongodb-client-encryption_binding.gyp
blob: f29e77d4c33a5b516317b02b88fe40e63ca70589 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- node_modules/mongodb-client-encryption/binding.gyp.orig	2024-11-15 19:23:54 UTC
+++ node_modules/mongodb-client-encryption/binding.gyp
@@ -42,7 +42,11 @@
           }
       }],
       ['libmongocrypt_link_type=="dynamic"', {
-        'link_settings': { 'libraries': ['-lmongocrypt'] }
+        'include_dirs': [
+          '/usr/include',
+          '%%LOCALBASE%%/include'
+        ],
+        'link_settings': { 'libraries': ['-L%%LOCALBASE%%/lib -lmongocrypt'] }
       }],
       ['libmongocrypt_link_type=="static"', {
         'conditions': [