Skip to content

Commit 1bfbdd7

Browse files
nmantheyNlightNFotis
authored andcommitted
solvers: also link MiniSat2 options
To be able to parse options again when setting up a solver, the parseOption method has to be present. Hence, link against the Options.cc file of MiniSat2 as well. Signed-off-by: Norbert Manthey <[email protected]>
1 parent ce7e74c commit 1bfbdd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solvers/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ endif
1717
ifneq ($(MINISAT2),)
1818
MINISAT2_SRC=sat/satcheck_minisat2.cpp
1919
MINISAT2_INCLUDE=-I $(MINISAT2)
20-
MINISAT2_LIB=$(MINISAT2)/minisat/simp/SimpSolver$(OBJEXT) $(MINISAT2)/minisat/core/Solver$(OBJEXT)
20+
MINISAT2_LIB=$(MINISAT2)/minisat/simp/SimpSolver$(OBJEXT) $(MINISAT2)/minisat/core/Solver$(OBJEXT) $(MINISAT2)/minisat/utils/Options$(OBJEXT)
2121
CP_CXXFLAGS += -DHAVE_MINISAT2 -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
2222
CLEANFILES += $(MINISAT2_LIB) $(patsubst %$(OBJEXT), %$(DEPEXT), $(MINISAT2_LIB))
2323
endif

0 commit comments

Comments
 (0)