|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Drop the WIN% "32" default DLL suffix
* Add default resource file handling => drop default RES
* Generate IMPORT_LIBRARY based on IMPORT_LIB_SUFFIX and
SHARED_LIBRARY, so we can drop all the explicit empty
IMPORT_LIBRARY lines
Originally this patch also tried to add a default MAPFILE rule,
but this fails, because the ARCH makefiles set linker flags
based on an existing MAPFILE variable.
Differential Revision: https://phabricator.services.mozilla.com/D70369
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MSVC's link.exe allows to pass linker flags through the LINK environment
variable[1]. When running under a shell that has the GNU coreutils's
link.exe installed (a tool to create hard links), it can become
necessary to override LINK from the command line. In that case, MAKE
passes down LINK as an environment variable to submake and subprocesses,
which then means it's passed down to link.exe itself, which then tries
to link itself to the rest of the passed arguments, and fails,
presumably because it can't open the executable while it's being
executed (and even if it could, that would still be an invalid thing to
link).
So, change the variable name.
1. https://msdn.microsoft.com/en-us/library/6y6t9esh.aspx
|