summaryrefslogtreecommitdiff
path: root/sccomp/Library_solver.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sccomp/Library_solver.mk')
-rw-r--r--sccomp/Library_solver.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/sccomp/Library_solver.mk b/sccomp/Library_solver.mk
index 52f99ccc980f..a0db0d399557 100644
--- a/sccomp/Library_solver.mk
+++ b/sccomp/Library_solver.mk
@@ -41,6 +41,12 @@ $(eval $(call gb_Library_use_libraries,solver,\
$(gb_UWINAPI) \
))
+ifeq ($(SYSTEM_LPSOLVE),YES)
+$(eval $(call gb_Library_add_defs,solver, \
+ -DSYSTEM_LPSOLVE \
+))
+endif
+
$(eval $(call gb_Library_use_external,solver,lpsolve))
$(eval $(call gb_Library_add_exception_objects,solver,\