From 533097adc5449bbd4a4ecbb5e69be2631e30f940 Mon Sep 17 00:00:00 2001 From: Joseph Mingrone Date: Tue, 5 Sep 2017 15:26:54 +0000 Subject: math/z3: Patch to add SONAME to shared library Also ensure that python is available at build time when the PYTHON option (for python bindings) is off. PR: 221321 Submitted by: 6yearold@gmail.com (maintainer) --- math/z3/files/patch-scripts_mk__util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'math/z3/files/patch-scripts_mk__util.py') diff --git a/math/z3/files/patch-scripts_mk__util.py b/math/z3/files/patch-scripts_mk__util.py index b3d538e51461..d4af1161c693 100644 --- a/math/z3/files/patch-scripts_mk__util.py +++ b/math/z3/files/patch-scripts_mk__util.py @@ -14,7 +14,7 @@ CXX = find_cxx_compiler() CC = find_c_compiler() - SLIBEXTRAFLAGS = '' -+ SLIBEXTRAFLAGS = LDFLAGS ++ SLIBEXTRAFLAGS = '%s -Wl,-soname,libz3.so.0' % LDFLAGS if GPROF: CXXFLAGS = '%s -pg' % CXXFLAGS LDFLAGS = '%s -pg' % LDFLAGS -- cgit v1.2.3