summaryrefslogtreecommitdiff
path: root/bridges/Library_cpp_uno.mk
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/Library_cpp_uno.mk')
-rw-r--r--bridges/Library_cpp_uno.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/bridges/Library_cpp_uno.mk b/bridges/Library_cpp_uno.mk
index c6ab9a065dd9..a55957c99c41 100644
--- a/bridges/Library_cpp_uno.mk
+++ b/bridges/Library_cpp_uno.mk
@@ -166,6 +166,8 @@ $(eval $(call gb_Library_use_internal_comprehensive_api,$(gb_CPPU_ENV)_uno,\
$(eval $(call gb_Library_set_include,$(gb_CPPU_ENV)_uno,\
-I$(SRCDIR)/bridges/inc \
+ -I$(call gb_UnpackedTarball_get_dir,libffi)/$(HOST_PLATFORM) \
+ -I$(call gb_UnpackedTarball_get_dir,libffi)/$(HOST_PLATFORM)/include \
$$(INCLUDE) \
))
@@ -199,6 +201,10 @@ $(eval $(call gb_Library_add_cxxflags,gcc3_uno,\
$(if $(filter TRUE,$(HAVE_GCC_AVX)),-mno-avx) \
))
+$(eval $(call gb_Library_add_libs,gcc3_uno,\
+ -L$(call gb_UnpackedTarball_get_dir,libffi)/$(HOST_PLATFORM)/.libs -lffi \
+))
+
ifeq ($(filter ANDROID WNT DRAGONFLY FREEBSD NETBSD OPENBSD MACOSX,$(OS)),)
$(eval $(call gb_Library_add_libs,gcc3_uno,\
-ldl \