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) {
255255 if cfg ! ( feature = "sqlean-extension-regexp" ) {
256256 enabled_extensions. push ( "regexp" ) ;
257257 sqlean_patterns. push ( "regexp/*.c" ) ;
258+ sqlean_patterns. push ( "regexp/pcre2/pcre2_internal.h" ) ;
258259 sqlean_patterns. push ( "regexp/pcre2/*.c" ) ;
259- sqlean_patterns. push ( "regexp/pcre2/*.h" ) ;
260260 }
261261
262262 if sqlean_patterns. is_empty ( ) {
@@ -271,6 +271,7 @@ pub fn build_bundled(out_dir: &str, out_path: &Path) {
271271 }
272272
273273 if cfg ! ( feature = "sqlean-extension-regexp" ) {
274+ // PCRE2 needs some macroses defined externally in constants.h file
274275 cfg. flag ( "-include" )
275276 . flag ( format ! ( "{BUNDLED_DIR}/sqlean/regexp/constants.h" ) ) ;
276277 }
You can’t perform that action at this time.
0 commit comments