Bug 1906736 - Make IMPORT_LIBRARY a full path. r=firefox-build-system-reviewers,sergesanspaille

This makes IMPORT_LIBRARY a full path, to match the change to
SHARED_LIBRARY so that the IMPORT_LIBRARY target can be found in
js/src/build/Makefile.in. Fixes regression in js standalone build 'make
install'.

Initial patch by Philip Chimento.

Differential Revision: https://phabricator.services.mozilla.com/D215992
This commit is contained in:
Mike Hommey 2024-07-11 06:07:01 +00:00
Родитель 3865aaa61e
Коммит 5b8b5d0224
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -1364,7 +1364,10 @@ class RecursiveMakeBackend(MakeBackend):
def _process_shared_library(self, libdef, backend_file):
backend_file.write_once("LIBRARY_NAME := %s\n" % libdef.basename)
backend_file.write("FORCE_SHARED_LIB := 1\n")
backend_file.write("IMPORT_LIBRARY := %s\n" % libdef.import_name)
backend_file.write(
"IMPORT_LIBRARY := %s\n"
% self._pretty_path(libdef.import_path, backend_file)
)
shared_lib = self._pretty_path(libdef.output_path, backend_file)
backend_file.write("SHARED_LIBRARY := %s\n" % shared_lib)
if libdef.soname: