We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f37d0b0 commit a35fd1aCopy full SHA for a35fd1a
1 file changed
libsql-ffi/build.rs
@@ -255,8 +255,8 @@ pub fn build_bundled(out_dir: &str, out_path: &Path) {
255
if cfg!(feature = "sqlean-extension-regexp") {
256
enabled_extensions.push("regexp");
257
sqlean_patterns.push("regexp/*.c");
258
+ sqlean_patterns.push("regexp/pcre2/pcre2_internal.h");
259
sqlean_patterns.push("regexp/pcre2/*.c");
- sqlean_patterns.push("regexp/pcre2/*.h");
260
}
261
262
if sqlean_patterns.is_empty() {
@@ -271,6 +271,7 @@ pub fn build_bundled(out_dir: &str, out_path: &Path) {
271
272
273
274
+ // PCRE2 needs some macroses defined externally in constants.h file
275
cfg.flag("-include")
276
.flag(format!("{BUNDLED_DIR}/sqlean/regexp/constants.h"));
277
0 commit comments