summaryrefslogtreecommitdiff
path: root/libdocument/Makefile.am
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-08-22 10:28:28 +0200
committerraveit65 <[email protected]>2019-08-29 12:00:35 +0200
commitf1c1bbd843ab9ec47aa56782901d749bf895068f (patch)
tree409ecb698ff5ba045b2747ded2852d3089095ed5 /libdocument/Makefile.am
parent4bc59d4a716b3ab271bb15adf4b9b5dd6961a4a2 (diff)
downloadatril-f1c1bbd843ab9ec47aa56782901d749bf895068f.tar.bz2
atril-f1c1bbd843ab9ec47aa56782901d749bf895068f.tar.xz
build: Use synctex system library if available
based on https://gitlab.gnome.org/GNOME/evince/commit/9edaca5b7b35bbbeeecfaf8d9291a4c092d8be91
Diffstat (limited to 'libdocument/Makefile.am')
-rw-r--r--libdocument/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdocument/Makefile.am b/libdocument/Makefile.am
index c3e1259e..f527f0a4 100644
--- a/libdocument/Makefile.am
+++ b/libdocument/Makefile.am
@@ -102,7 +102,7 @@ libatrildocument_la_CPPFLAGS = \
libatrildocument_la_CFLAGS = \
$(LIBDOCUMENT_CFLAGS) \
- -I$(top_srcdir)/cut-n-paste/synctex \
+ $(SYNCTEX_CFLAGS) \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED) \
$(AM_CFLAGS)
@@ -116,7 +116,7 @@ libatrildocument_la_LDFLAGS = \
libatrildocument_la_LIBADD = \
$(LIBDOCUMENT_LIBS) \
$(GMODULE_LIBS) \
- $(top_builddir)/cut-n-paste/synctex/libsynctex.la \
+ $(SYNCTEX_LIBS) \
$(ZLIB_LIBS)