Kaydet (Commit) 548b61a2 authored tarafından David Tardon's avatar David Tardon

fix build with internal xpdf

üst 2db25c27
......@@ -1080,15 +1080,34 @@ endef
else # !SYSTEM_POPPLER
# FIXME: what are the libs created by xpdf?
$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO,\
poppler \
$(eval $(call gb_Helper_register_static_libraries,PLAINLIBS,\
fofi \
Goo \
xpdf \
))
define gb_LinkTarget__use_poppler
$(call gb_LinkTarget_set_include,$(1),\
-I$(OUTDIR)/inc/xpdf \
$$(INCLUDE) \
)
$(call gb_LinkTarget_add_linked_static_libs,$(1),\
fofi \
Goo \
xpdf \
)
ifeq ($(OS),MACOSX)
$(call gb_LinkTarget_add_linked_libs,$(1),\
poppler \
objc \
)
else ifeq ($(OS),WNT)
$(call gb_LinkTarget_add_linked_libs,$(1),\
advapi32 \
gdi32 \
)
endif
endef
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment