Annotation of /trunk/spidermonkey/patches/spidermonkey-60.7.2-fix-soname.patch
Parent Directory | Revision Log
Revision 3364 -
(hide annotations)
(download)
Fri Jun 28 12:23:19 2019 UTC (5 years, 3 months ago) by niro
File size: 1023 byte(s)
Fri Jun 28 12:23:19 2019 UTC (5 years, 3 months ago) by niro
File size: 1023 byte(s)
-added spidermonkey-60.7.2 patches
1 | niro | 3364 | diff --git i/js/src/build/Makefile.in w/js/src/build/Makefile.in |
2 | index ee19104e0ef5..a0f06fd35a18 100644 | ||
3 | --- i/js/src/build/Makefile.in | ||
4 | +++ w/js/src/build/Makefile.in | ||
5 | @@ -89,6 +89,8 @@ ifneq (,$(REAL_LIBRARY)) | ||
6 | endif | ||
7 | ifneq (,$(SHARED_LIBRARY)) | ||
8 | $(SYSINSTALL) $(SHARED_LIBRARY) $(DESTDIR)$(libdir) | ||
9 | + mv -f $(DESTDIR)$(libdir)/$(SHARED_LIBRARY) $(DESTDIR)$(libdir)/$(SHARED_LIBRARY).0 | ||
10 | + ln -s $(SHARED_LIBRARY).0 $(DESTDIR)$(libdir)/$(SHARED_LIBRARY) | ||
11 | ifeq ($(OS_ARCH),Darwin) | ||
12 | install_name_tool -id $(abspath $(libdir)/$(SHARED_LIBRARY)) $(DESTDIR)$(libdir)/$(SHARED_LIBRARY) | ||
13 | endif | ||
14 | diff --git i/js/src/build/moz.build w/js/src/build/moz.build | ||
15 | index a7f5fa4ce8eb..726687c13fb0 100644 | ||
16 | --- i/js/src/build/moz.build | ||
17 | +++ w/js/src/build/moz.build | ||
18 | @@ -23,6 +23,7 @@ if not CONFIG['JS_STANDALONE']: | ||
19 | if CONFIG['JS_SHARED_LIBRARY']: | ||
20 | GeckoSharedLibrary('js', linkage=None) | ||
21 | SHARED_LIBRARY_NAME = CONFIG['JS_LIBRARY_NAME'] | ||
22 | + LDFLAGS += ['-Wl,-soname,lib{}.so.0'.format(SHARED_LIBRARY_NAME)] | ||
23 | else: | ||
24 | Library('js') | ||
25 |