diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-07-28 01:03:23 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2011-07-28 10:15:33 +0200 |
commit | c456048cc6cf83aa70d06d81edc27317e14e957f (patch) | |
tree | 0e49d5c3b7797ba216a813b9ad7028e02e409003 /RepositoryExternal.mk | |
parent | edb451c490fe72ced8df20829c7fbc0da93e672c (diff) |
add lpsolve55 to external libs
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 795e553cf65f..0eb3f61c7ef5 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) \ |