diff options
author | Peter Foley <pefoley2@verizon.net> | 2012-11-03 19:19:30 -0400 |
---|---|---|
committer | Peter Foley <pefoley2@verizon.net> | 2012-11-03 19:52:07 -0400 |
commit | 93e2c4a9d257ebbe794fbaba888229857e7c42d8 (patch) | |
tree | 6edb48bc971b3ac6240f0f9ed7ebf56eb443a06d /RepositoryExternal.mk | |
parent | Remove unused method and also remove not build test (diff) | |
download | core-93e2c4a9d257ebbe794fbaba888229857e7c42d8.tar.gz core-93e2c4a9d257ebbe794fbaba888229857e7c42d8.zip |
convert lpsolve to gbuild
Change-Id: I0038b21a1b3bde4d8d3f5dd0092d15d858336680
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index a1fc086a5990..24b66c6171bf 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -1267,8 +1267,11 @@ endif # SYSTEM_LCMS2 ifeq ($(SYSTEM_LPSOLVE),YES) -define gb_LinkTarget__use_lpsolve55 +define gb_LinkTarget__use_lpsolve $(call gb_LinkTarget_add_libs,$(1),-llpsolve55) +$(call gb_LinkTarget_add_defs,$(1),\ + -DSYSTEM_LPSOLVE \ +)) endef @@ -1278,10 +1281,14 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \ lpsolve55 \ )) -define gb_LinkTarget__use_lpsolve55 +define gb_LinkTarget__use_lpsolve $(call gb_LinkTarget_use_libraries,$(1),\ lpsolve55 \ ) +$(call gb_LinkTarget_set_include,$(1),\ + -I$(call gb_UnpackedTarball_get_dir,lpsolve) \ + $$(INCLUDE) \ +) endef |