summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/poppler.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/poppler.mk b/src/poppler.mk
index a7da7ee..aedffe7 100644
--- a/src/poppler.mk
+++ b/src/poppler.mk
@@ -47,8 +47,8 @@ define $(PKG)_BUILD
--disable-gtk-doc-html \
--disable-gtk-doc-pdf \
--with-font-configuration=win32 \
- LIBS="`'$(TARGET)-pkg-config' zlib liblzma --libs` -ljpeg" \
- PKG_CONFIG_PATH_i686_pc_mingw32='$(PREFIX)/$(TARGET)/qt/lib/pkgconfig:$PKG_CONFIG_PATH_i686_pc_mingw32'
+ PKG_CONFIG_PATH_$(subst -,_,$(TARGET))='$(PREFIX)/$(TARGET)/qt/lib/pkgconfig' \
+ LIBS="`'$(TARGET)-pkg-config' zlib liblzma --libs` -ljpeg"
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
# Test program