summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri John Ledkov <xnox@ubuntu.com>2020-03-23 23:41:41 -0400
committerJames McCoy <jamessan@debian.org>2020-03-23 23:41:41 -0400
commit188e176656b49d8c1d41232bc4089613cf8ef63e (patch)
tree69bb57dee05eb9f443338c959bee9c31c777d97b
parent03f9b7c539004bf9f616254ff00aeca8df9418d8 (diff)
swig.m4: Do not include ruby include subdir
It has headers that clash with standard ones, such as assert.h. Signed-off-by: James McCoy <jamessan@debian.org>
-rw-r--r--build/ac-macros/swig.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/build/ac-macros/swig.m4 b/build/ac-macros/swig.m4
index 3c05797..4031462 100644
--- a/build/ac-macros/swig.m4
+++ b/build/ac-macros/swig.m4
@@ -168,7 +168,7 @@ AC_DEFUN(SVN_FIND_SWIG,
AC_CACHE_CHECK([for Ruby include path], [svn_cv_ruby_includes],[
if test -d "$rbconfig_rubyhdrdir"; then
dnl Ruby >=1.9
- svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward"
+ svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby/backward"
if test -d "$rbconfig_rubyarchhdrdir"; then
dnl Ruby >=2.0
svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"