summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--postprocess/Rdb_services.mk3
-rw-r--r--sccomp/Library_solver.mk5
2 files changed, 6 insertions, 2 deletions
diff --git a/postprocess/Rdb_services.mk b/postprocess/Rdb_services.mk
index d83b30819ccd..e4bc74455dda 100644
--- a/postprocess/Rdb_services.mk
+++ b/postprocess/Rdb_services.mk
@@ -118,7 +118,8 @@ $(eval $(call gb_Rdb_add_components,services,\
$(if $(ENABLE_LPSOLVE), \
sccomp/source/solver/lpsolvesolver \
) \
- sccomp/source/solver/swarmsolver \
+ $(if $(filter-out $(OS),IOS), \
+ sccomp/source/solver/swarmsolver) \
writerfilter/util/writerfilter \
writerperfect/source/draw/wpftdraw \
writerperfect/source/impress/wpftimpress \
diff --git a/sccomp/Library_solver.mk b/sccomp/Library_solver.mk
index e23ecac7a5bb..178eb35bee07 100644
--- a/sccomp/Library_solver.mk
+++ b/sccomp/Library_solver.mk
@@ -22,7 +22,9 @@ $(eval $(call gb_Library_Library,solver))
$(if $(ENABLE_COINMP),$(eval $(call gb_Library_set_componentfile,solver,sccomp/source/solver/coinmpsolver)))
$(if $(ENABLE_LPSOLVE),$(eval $(call gb_Library_set_componentfile,solver,sccomp/source/solver/lpsolvesolver)))
+ifneq ($(OS),IOS)
$(eval $(call gb_Library_set_componentfile,solver,sccomp/source/solver/swarmsolver))
+endif
$(eval $(call gb_Library_use_sdk_api,solver))
@@ -47,7 +49,8 @@ $(eval $(call gb_Library_use_externals,solver,\
))
$(eval $(call gb_Library_add_exception_objects,solver,\
- sccomp/source/solver/SwarmSolver \
+ $(if $(filter-out $(OS),IOS), \
+ sccomp/source/solver/SwarmSolver) \
sccomp/source/solver/SolverComponent \
$(if $(ENABLE_COINMP), sccomp/source/solver/CoinMPSolver) \
$(if $(ENABLE_LPSOLVE), sccomp/source/solver/LpsolveSolver) \