Author: Matti Picus <[email protected]>
Branch: pypy-config
Changeset: r87947:49935c97e717
Date: 2016-10-26 20:10 +0300
http://bitbucket.org/pypy/pypy/changeset/49935c97e717/

Log:    hack to show what compilation/build should be filling in, tests
        needed

diff --git a/lib_pypy/_sysconfigdata.py b/lib_pypy/_sysconfigdata.py
--- a/lib_pypy/_sysconfigdata.py
+++ b/lib_pypy/_sysconfigdata.py
@@ -1,2 +1,8 @@
 build_time_vars = {
+    'CFLAGS':  '',
+    'LIBS':    '',
+    'SYSLIBS': '',
+    'VERSION': '',
+    'LIBPL': '.',
+    'LINKFORSHARED': '',
 }
diff --git a/pypy-config b/pypy-config
--- a/pypy-config
+++ b/pypy-config
@@ -15,7 +15,6 @@
 import getopt
 
 sys.argv = ['$interp'] + '$@'.split()
-print sys.argv
 
 from distutils import sysconfig
 
@@ -59,7 +58,7 @@
         print ' '.join(flags)
 
     elif opt in ('--libs', '--ldflags'):
-        libs = ['-lpython' + pyver]
+        libs = ['-lpypy-c']
         libs += getvar('LIBS').split()
         libs += getvar('SYSLIBS').split()
         # add the prefix/lib/pythonX.Y/config dir, but only if there is no
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to