You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/oniguruma/files/oniguruma-6.6.1-build.patch

26 lines
656 B

https://github.com/kkos/oniguruma/issues/68
https://github.com/kkos/oniguruma/commit/1337755c2758a62057ef95f1cff1b9466f533301
--- /sample/Makefile.am
+++ /sample/Makefile.am
@@ -4,7 +4,7 @@
LDADD = $(lib_onig)
AM_LDFLAGS = -L$(prefix)/lib
-AM_CPPFLAGS = -I../src -I$(includedir)
+AM_CPPFLAGS = -I$(top_srcdir)/src -I$(includedir)
TESTS = encode listcap names posix simple sql syntax user_property bug_fix
--- /test/Makefile.am
+++ /test/Makefile.am
@@ -3,7 +3,7 @@
AM_LDFLAGS = -L$(prefix)/lib
AM_CFLAGS =
-AM_CPPFLAGS = -I../src -I$(includedir)
+AM_CPPFLAGS = -I$(top_srcdir)/src -I$(includedir)
TESTS = test_utf8 testc testp testcu