Skip to content

Commit 103ebd3

Browse files
committed
Merge branch 'makefile-fix-cpx-exactspx' into 'v100-bugfix'
fix that LPSEXACT=spx was overriding LPSLDFLAGS and LPSLIBFILES instead of appending See merge request integer/scip!4097
2 parents a622672 + 6c43fb6 commit 103ebd3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

make/make.project

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -495,10 +495,12 @@ endif
495495
endif
496496

497497
#-------------------------------------------------------
498-
# add flags for exact SoPlex
498+
# add flags for exact SoPlex, if there were not added due to LPS=spx already
499499
ifeq ($(LPSEXACT),spx)
500-
LPSLDFLAGS = $(LINKCXX_L)$(SCIPREALPATH)/$(LIBDIR)/$(LIBEXTTYPE) $(LINKCXX_l)soplex.$(OSTYPE).$(ARCH).$(COMP).$(LPSOPT)$(LINKLIBSUFFIX)
501-
LPSLIBFILES = $(SCIPREALPATH)/$(LIBDIR)/$(LIBEXTTYPE)/libsoplex.$(OSTYPE).$(ARCH).$(COMP).$(LIBEXTEXT)
500+
ifneq ($(LPS),spx)
501+
LPSLDFLAGS += $(LINKCXX_L)$(SCIPREALPATH)/$(LIBDIR)/$(LIBEXTTYPE) $(LINKCXX_l)soplex.$(OSTYPE).$(ARCH).$(COMP).$(LPSOPT)$(LINKLIBSUFFIX)
502+
LPSLIBFILES += $(SCIPREALPATH)/$(LIBDIR)/$(LIBEXTTYPE)/libsoplex.$(OSTYPE).$(ARCH).$(COMP).$(LIBEXTEXT)
503+
endif
502504
endif
503505

504506
#-------------------------------------------------------

0 commit comments

Comments
 (0)