Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 2017 15:42:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 221321] math/z3: Add SONAME to the linked library
Message-ID:  <bug-221321-13-MCEaXKIZbV@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-221321-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-221321-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221321

--- Comment #9 from arrowd <6yearold@gmail.com> ---
Strange, it does apply to me. Ok, here are the contents of
files/patch-scripts_mk__util.py

--- scripts/mk_util.py.orig     2016-11-07 22:02:30 UTC
+++ scripts/mk_util.py
@@ -49,7 +49,7 @@ C_COMPILERS=3D['gcc', 'clang']
 CSC_COMPILERS=3D['csc', 'mcs']
 JAVAC=3DNone
 JAR=3DNone
-PYTHON_PACKAGE_DIR=3Ddistutils.sysconfig.get_python_lib()
+PYTHON_PACKAGE_DIR=3Ddistutils.sysconfig.get_python_lib(prefix=3Dgetenv("P=
REFIX",
None))
 BUILD_DIR=3D'build'
 REV_BUILD_DIR=3D'..'
 SRC_DIR=3D'src'
@@ -2391,7 +2391,7 @@ def mk_config():
         check_ar()
         CXX =3D find_cxx_compiler()
         CC  =3D find_c_compiler()
-        SLIBEXTRAFLAGS =3D ''
+        SLIBEXTRAFLAGS =3D '%s -Wl,-soname,libz3.so.0' % LDFLAGS
         if GPROF:
             CXXFLAGS =3D '%s -pg' % CXXFLAGS
             LDFLAGS  =3D '%s -pg' % LDFLAGS

Just copy it over existing file.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221321-13-MCEaXKIZbV>