8b2694efb7
* fix build for openssl 1.1.1b required for sdk (cherry picked from commit aa49e3b2755b97b6331cdbbb89efc954de8d5977) * use js code from master * fix openssl recipe and tweak build (cherry picked from commit 6e94c27021c7bd7b1e880c2fc314850e36a5a38e) * remove unused build recipes (cherry picked from commit f5c0577bdb175bfc0990602936bbc9e2052e1f25)
16 lines
618 B
Diff
16 lines
618 B
Diff
--- Python-2.7.2/setup.py.orig 2012-01-08 15:10:39.867332119 +0100
|
|
+++ Python-2.7.2/setup.py 2012-01-08 15:10:45.723331911 +0100
|
|
@@ -445,6 +445,13 @@
|
|
'/lib', '/usr/lib',
|
|
]
|
|
inc_dirs += ['/usr/include']
|
|
+ else:
|
|
+ cflags = os.environ.get('CFLAGS')
|
|
+ if cflags:
|
|
+ inc_dirs += [x[2:] for x in cflags.split() if x.startswith('-I')]
|
|
+ ldflags = os.environ.get('LDFLAGS')
|
|
+ if ldflags:
|
|
+ lib_dirs += [x[2:] for x in ldflags.split() if x.startswith('-L')]
|
|
exts = []
|
|
missing = []
|
|
|