summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 795e553cf..0eb3f61c7 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -437,6 +437,30 @@ endef
endif # SYSTEM_OPENSSL
+
+ifeq ($(SYSTEM_LPSOLVE),YES)
+
+define gb_LinkTarget__use_lpsolve55
+$(call gb_LinkTarget_add_libs,$(1),-llpsolve55)
+
+endef
+
+else # !SYSTEM_LPSOLVE
+
+$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
+ lpsolve55 \
+))
+
+define gb_LinkTarget__use_lpsolve55
+$(call gb_LinkTarget_add_linked_libs,$(1),\
+ lpsolve55 \
+)
+
+endef
+
+endif # SYSTEM_LPSOLVE
+
+
define gb_LinkTarget__use_gtk
$(call gb_LinkTarget_set_include,$(1),\
$$(INCLUDE) \