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, 6 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/synctexdir/am/synctex.am b/Build/source/texk/web2c/synctexdir/am/synctex.am
index 1f3f366de71..af9a5bd6a18 100644
--- a/Build/source/texk/web2c/synctexdir/am/synctex.am
+++ b/Build/source/texk/web2c/synctexdir/am/synctex.am
@@ -20,6 +20,9 @@ synctex_SOURCES = \
synctex_CPPFLAGS = -I$(srcdir)/synctexdir
synctex_LDADD = $(libsynctex) $(ZLIB_LIBS)
+if MINGW32
+synctex_LDADD += -lshlwapi
+endif MINGW32
$(synctex_OBJECTS): $(libsynctex)
@@ -32,6 +35,9 @@ libsynctex_a_CPPFLAGS = $(libsynctex_la_CPPFLAGS)
libsynctex_la_LDFLAGS = -rpath @libdir@ -bindir @bindir@ -no-undefined -version-info $(SYNCTEX_LT_VERSINFO)
libsynctex_la_LIBADD = $(ZLIB_LIBS)
+if MINGW32
+libsynctex_la_LIBADD += -lshlwapi
+endif MINGW32
libsynctex_la_SOURCES = \
synctexdir/synctex_parser.c \