summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/synctexdir/am/synctex.am
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/synctexdir/am/synctex.am')
-rw-r--r--Build/source/texk/web2c/synctexdir/am/synctex.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/synctexdir/am/synctex.am b/Build/source/texk/web2c/synctexdir/am/synctex.am
index 0ecc601f304..19c0875a7ac 100644
--- a/Build/source/texk/web2c/synctexdir/am/synctex.am
+++ b/Build/source/texk/web2c/synctexdir/am/synctex.am
@@ -18,10 +18,14 @@ synctex_SOURCES = \
synctexdir/synctex_main.c
synctex_CPPFLAGS = -I$(srcdir)/synctexdir
+if MINGW32
+synctex_CPPFLAGS += $(KPATHSEA_INCLUDES)
+endif MINGW32
+
synctex_LDADD = $(libsynctex) $(ZLIB_LIBS)
if MINGW32
-synctex_LDADD += -lshlwapi
+synctex_LDADD += -lshlwapi $(KPATHSEA_LIBS)
endif MINGW32
$(synctex_OBJECTS): $(libsynctex)