mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 02:45:51 +00:00
fixed: missing library, more compilation errors in debug mode reported by g++ 4.7.1
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
9fb25e7708
commit
ae71a4d514
4 changed files with 27 additions and 24 deletions
|
@ -115,6 +115,7 @@ host_os=`uname -s`
|
|||
AS_IF([test "$host_os" = "Darwin"], [
|
||||
PLATFORM=osx
|
||||
SO_EXT=.dylib
|
||||
LDFLAGS=
|
||||
SLIBFLAGS="-dynamiclib -fopenmp"
|
||||
SLIBEXTRAFLAGS=""
|
||||
COMP_VERSIONS="-compatibility_version \$(Z3_VERSION) -current_version \$(Z3_VERSION)"
|
||||
|
@ -122,6 +123,7 @@ AS_IF([test "$host_os" = "Darwin"], [
|
|||
], [test "$host_os" = "Linux"], [
|
||||
PLATFORM=linux
|
||||
SO_EXT=.so
|
||||
LDFLAGS=-lrt
|
||||
SLIBFLAGS="-shared -fopenmp"
|
||||
SLIBEXTRAFLAGS=
|
||||
COMP_VERSIONS=
|
||||
|
@ -140,6 +142,7 @@ AS_IF([test "$host_os" = "Darwin"], [
|
|||
AC_MSG_ERROR([Unknown host platform: $host_os])
|
||||
])
|
||||
AC_SUBST(SLIBFLAGS)
|
||||
AC_SUBST(LDFLAGS)
|
||||
AC_SUBST(SLIBEXTRAFLAGS)
|
||||
AC_SUBST(SO_EXT)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue