nixpkgs/pkgs/by-name/sw/sword/sword-1.9.0-diatheke-includes.patch
Greg Hellings 7fe6b3351a sword: enable Windows building
Modify build techniques for SWORD so that it compiles on Windows and we
can remove the platforms tag
2024-10-25 18:47:30 -05:00

14 lines
375 B
Diff

diff --git a/utilities/diatheke/Makefile.am b/utilities/diatheke/Makefile.am
index 8ba34e5..545af2c 100644
--- a/utilities/diatheke/Makefile.am
+++ b/utilities/diatheke/Makefile.am
@@ -1,5 +1,8 @@
AUTOMAKE_OPTIONS = 1.6
+if USE_INTERNAL_REGEX
+AM_CPPFLAGS = -I$(top_srcdir)/include/internal/regex
+endif
LDADD = $(top_builddir)/lib/libsword.la
bin_PROGRAMS = diatheke