Author: Armin Rigo <[email protected]>
Branch:
Changeset: r89257:4b1508ade877
Date: 2016-12-28 09:45 +0100
http://bitbucket.org/pypy/pypy/changeset/4b1508ade877/
Log: Add so_prefixes to all posix platforms
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,7 +6,6 @@
DEFAULT_CC = 'clang'
so_ext = 'so'
- so_prefixes = ('lib', '')
make_cmd = 'gmake'
standalone_only = []
diff --git a/rpython/translator/platform/cygwin.py
b/rpython/translator/platform/cygwin.py
--- a/rpython/translator/platform/cygwin.py
+++ b/rpython/translator/platform/cygwin.py
@@ -26,7 +26,6 @@
shared_only = ('-fPIC',)
so_ext = 'dll'
exe_ext = 'exe'
- so_prefixes = ('lib', '')
def _args_for_shared(self, args):
return ['-shared'] + args
diff --git a/rpython/translator/platform/linux.py
b/rpython/translator/platform/linux.py
--- a/rpython/translator/platform/linux.py
+++ b/rpython/translator/platform/linux.py
@@ -19,7 +19,6 @@
standalone_only = ()
shared_only = ('-fPIC',)
so_ext = 'so'
- so_prefixes = ('lib', '')
if platform.machine() == 's390x':
from rpython.translator.platform.arch import s390x
diff --git a/rpython/translator/platform/posix.py
b/rpython/translator/platform/posix.py
--- a/rpython/translator/platform/posix.py
+++ b/rpython/translator/platform/posix.py
@@ -10,6 +10,7 @@
class BasePosix(Platform):
exe_ext = ''
make_cmd = 'make'
+ so_prefixes = ('lib', '')
relevant_environ = ('CPATH', 'LIBRARY_PATH', 'C_INCLUDE_PATH')
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit