un-break lpsolve for MSC
Change-Id: Iccf8f5572530412ef72f802e968778826a73d886
This commit is contained in:
parent
7a713939e3
commit
b7d8ca8af9
@ -1703,9 +1703,15 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
|
|||||||
|
|
||||||
define gb_LinkTarget__use_lpsolve
|
define gb_LinkTarget__use_lpsolve
|
||||||
$(call gb_LinkTarget_use_unpacked,$(1),lpsolve)
|
$(call gb_LinkTarget_use_unpacked,$(1),lpsolve)
|
||||||
|
ifeq ($(COM),MSC)
|
||||||
|
$(call gb_LinkTarget_add_libs,$(1),\
|
||||||
|
$(call gb_UnpackedTarball_get_dir,lpsolve)/lpsolve55/lpsolve55.lib \
|
||||||
|
)
|
||||||
|
else
|
||||||
$(call gb_LinkTarget_add_libs,$(1),\
|
$(call gb_LinkTarget_add_libs,$(1),\
|
||||||
-L$(call gb_UnpackedTarball_get_dir,lpsolve)/lpsolve55 -llpsolve55 \
|
-L$(call gb_UnpackedTarball_get_dir,lpsolve)/lpsolve55 -llpsolve55 \
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
$(call gb_LinkTarget_set_include,$(1),\
|
$(call gb_LinkTarget_set_include,$(1),\
|
||||||
-I$(call gb_UnpackedTarball_get_dir,lpsolve) \
|
-I$(call gb_UnpackedTarball_get_dir,lpsolve) \
|
||||||
$$(INCLUDE) \
|
$$(INCLUDE) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user