summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-10-05 19:40:25 +0200
committerMichał Górny <mgorny@gentoo.org>2017-10-09 20:58:14 +0200
commitccc170f64e0040984d5306106a1c395f330bebed (patch)
tree00ec88c778ed446ecc4c856a8c5ae0b94cdf8fa4 /dev-python/pypy/files
parentmedia-tv/kodi: Bump ffmpeg to 3.3.4-Leia-Alpha-1 (diff)
downloadgentoo-ccc170f64e0040984d5306106a1c395f330bebed.tar.gz
gentoo-ccc170f64e0040984d5306106a1c395f330bebed.tar.bz2
gentoo-ccc170f64e0040984d5306106a1c395f330bebed.zip
dev-python/pypy: Bump to 5.9.0
Diffstat (limited to 'dev-python/pypy/files')
-rw-r--r--dev-python/pypy/files/5.9.0-shared-lib.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-python/pypy/files/5.9.0-shared-lib.patch b/dev-python/pypy/files/5.9.0-shared-lib.patch
new file mode 100644
index 000000000000..5d89d3b15a30
--- /dev/null
+++ b/dev-python/pypy/files/5.9.0-shared-lib.patch
@@ -0,0 +1,12 @@
+diff -dupr a/rpython/translator/platform/posix.py b/rpython/translator/platform/posix.py
+--- a/rpython/translator/platform/posix.py 2017-10-05 20:17:25.009954656 +0200
++++ b/rpython/translator/platform/posix.py 2017-10-05 20:17:31.115666386 +0200
+@@ -227,7 +227,7 @@ class BasePosix(Platform):
+ 'int main(int argc, char* argv[]) '
+ '{ return $(PYPY_MAIN_FUNCTION)(argc, argv); }" > $@')
+ m.rule('$(DEFAULT_TARGET)', ['$(TARGET)', 'main.o'],
+- ['$(CC_LINK) $(LDFLAGS_LINK) main.o -L. -l$(SHARED_IMPORT_LIB) -o $@ $(RPATH_FLAGS)', '$(MAKE) postcompile BIN=$(DEFAULT_TARGET)'])
++ ['$(CC_LINK) $(LDFLAGS_LINK) main.o -L. -l$(SHARED_IMPORT_LIB) \'-Wl,-rpath,$$ORIGIN\' -o $@', '$(MAKE) postcompile BIN=$(DEFAULT_TARGET)'])
+
+ return m
+