File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -255,8 +255,8 @@ pub fn build_bundled(out_dir: &str, out_path: &Path) {
255
255
if cfg ! ( feature = "sqlean-extension-regexp" ) {
256
256
enabled_extensions. push ( "regexp" ) ;
257
257
sqlean_patterns. push ( "regexp/*.c" ) ;
258
+ sqlean_patterns. push ( "regexp/pcre2/pcre2_internal.h" ) ;
258
259
sqlean_patterns. push ( "regexp/pcre2/*.c" ) ;
259
- sqlean_patterns. push ( "regexp/pcre2/*.h" ) ;
260
260
}
261
261
262
262
if sqlean_patterns. is_empty ( ) {
@@ -271,6 +271,7 @@ pub fn build_bundled(out_dir: &str, out_path: &Path) {
271
271
}
272
272
273
273
if cfg ! ( feature = "sqlean-extension-regexp" ) {
274
+ // PCRE2 needs some macroses defined externally in constants.h file
274
275
cfg. flag ( "-include" )
275
276
. flag ( format ! ( "{BUNDLED_DIR}/sqlean/regexp/constants.h" ) ) ;
276
277
}
You can’t perform that action at this time.
0 commit comments