diff --git a/sdext/Library_pdfimport.mk b/sdext/Library_pdfimport.mk index f59d9882ec4f..e04c2ebc9dde 100644 --- a/sdext/Library_pdfimport.mk +++ b/sdext/Library_pdfimport.mk @@ -32,11 +32,11 @@ $(eval $(call gb_Library_add_api,pdfimport,\ udkapi \ )) -include $(OUTDIR)/inc/rtlbootstrap.mk +include $(dir $(realpath $(lastword $(MAKEFILE_LIST))))platform.mk $(eval $(call gb_Library_add_defs,pdfimport,\ -DBOOST_SPIRIT_USE_OLD_NAMESPACE \ - -DPDFI_IMPL_IDENTIFIER=\"com.sun.star.PDFImport-$(RTL_OS)-$(RTL_ARCH)\" \ + -DPDFI_IMPL_IDENTIFIER=\"com.sun.star.PDFImport-$(sdext_PLATFORM)\" \ )) $(eval $(call gb_Library_add_package_headers,pdfimport,\