* How to change the name of the libffi-3.3 generated dll/lib files on windows?
@ 2020-11-20 23:56 Randy Geyer
0 siblings, 0 replies; only message in thread
From: Randy Geyer @ 2020-11-20 23:56 UTC (permalink / raw)
To: libffi-discuss
I have successfully build a libffi-3.3 on windows using this Configure:
./configure CC="$(shell pwd)/libffi/msvcc.sh -m64" CXX="$(shell
pwd)/libffi/msvcc.sh -m64" CPP="cl -nologo -EP"
CPPFLAGS="-DFFI_BUILDING_DLL" --build=x86_64-w64-cygwin
--host=x86_64-w64-cygwin';
The libffi-7.dll and libffi-7.lib file are generated under
pwd\libffi\x86_64-w64-cygwin\.libs. libffi-7.lib has named references to
libffi-7.dll so I can't just rename the dll or our application build fails
because the libffi-7.dll references in the .lib.
Is there a way to have the libffi make produce ffi.dll and ffi.lib instead?
so that the .lib refers to ffi.dll not libffi-7.dll.
Note: I tried adding --program-transform-name='s/libffi-7/ffi/' as a
Configure parameter, but that had no effect.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-20 23:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-20 23:56 How to change the name of the libffi-3.3 generated dll/lib files on windows? Randy Geyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).