# [PATCH] mbstring VPATH build fix for 5.0

- Thread: https://externals.io/message/11321
- Original archive: https://news-web.php.net/php.internals/11321
- Started by Joe Orton on 2004-07-18T12:58:16+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #11321 — Joe Orton — 2004-07-18T12:58:16+00:00

URL: https://externals.io/message/11321#11321

Index: ext/mbstring/config.m4
===================================================================
RCS file: /repository/php-src/ext/mbstring/config.m4,v
retrieving revision 1.51
diff -u -r1.51 config.m4
--- ext/mbstring/config.m4	10 Jun 2004 14:06:17 -0000	1.51
+++ ext/mbstring/config.m4	18 Jul 2004 12:56:42 -0000
@@ -84,6 +84,7 @@
 
     PHP_MBSTRING_ADD_CFLAG([-DNOT_RUBY])
     PHP_MBSTRING_ADD_BUILD_DIR([oniguruma])
+    PHP_MBSTRING_ADD_BUILD_DIR([oniguruma/enc])
     PHP_MBSTRING_ADD_INCLUDE([oniguruma])
     PHP_MBSTRING_ADD_CONFIG_HEADER([oniguruma/config.h])
