[pypy-commit] pypy openbsd-lib-prefix: Like Linux, the BSDs use a 'lib' prefix for shared objects.

vext01 noreply at buildbot.pypy.org
Sun Apr 20 15:31:43 CEST 2014


Author: Edd Barrett <vext01 at gmail.com>
Branch: openbsd-lib-prefix
Changeset: r70803:5b1c49e8419c
Date: 2014-04-20 13:08 +0100
http://bitbucket.org/pypy/pypy/changeset/5b1c49e8419c/

Log:	Like Linux, the BSDs use a 'lib' prefix for shared objects.

	Fixes problems with HippyVM tests where we see thinks like:
	NotImplementedError: cannot find any of the libraries ['timelib',
	'timelib1']

diff --git a/rpython/translator/platform/bsd.py b/rpython/translator/platform/bsd.py
--- a/rpython/translator/platform/bsd.py
+++ b/rpython/translator/platform/bsd.py
@@ -6,6 +6,7 @@
     DEFAULT_CC = 'clang'
 
     so_ext = 'so'
+    so_prefixes = ('lib', '')
     make_cmd = 'gmake'
 
     standalone_only = []


More information about the pypy-commit mailing list