Skip to content

Commit

Permalink
Small fixes in z3 install Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
davexparker committed Jul 21, 2021
1 parent b4e26c7 commit 92245ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion prism/ext/z3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ default: all

all: checks z3

# Cygwin libs
ifeq ($(OSTYPE),cygwin)
Z3_LIB = $(LIBPREFIX)libz3$(LIBSUFFIX)
Z3_JAVA_LIB = $(LIBPREFIX)libz3java$(LIBSUFFIX)
# Anything else (including unsupported OSs) - Mac/Linux libs
else
Z3_LIB = $(LIBPREFIX)z3$(LIBSUFFIX)
Z3_JAVA_LIB = $(LIBPREFIX)z3java$(LIBSUFFIX)
Expand All @@ -25,7 +27,6 @@ checks:
fi;

z3:
@echo Making sure lpsolve55 Java wrapper is compatible with $(OSTYPE) $(ARCH)
@(if [ "$(OSTYPE)" = "linux" ]; then \
echo "Copying Z3 libraries for Linux"; \
cp "$(Z3_LIB)" "$(Z3_JAVA_LIB)" "$(Z3_JAVA_JAR)" ../../$(PRISM_LIB_DIR)/ ; \
Expand Down

0 comments on commit 92245ab

Please sign in to comment.