You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it should be possible to make some code for file.exe to determine the correct archive type in import archives by checking for _imp*symbol in the library (these should not exist in the static ones), it wont be foolprof but better than what is i reckon.
maybe make file calling objdump on the library that seems to have been one trick used in the old msys.org days.
not so sure about how to force file to do it though ? any thoughts.
GitMensch
changed the title
fix mys/file tp determine the correct archive type in import archives
fix msys/file to determine the correct archive type in import archives
Jan 29, 2024
@Biswa96 Do you think it would be more reasonable to patch file.exe (seems to be quite complex, not sure if there's someone that would do that) or instead "replace" the installed file.exe by a wrapper script that manually inspects *.a (or even *.dll.a) files and pass the rest to the then-renamed file.exe (as per the original discussion)?
it should be possible to make some code for file.exe to determine the correct archive type in import archives by checking for _imp*symbol in the library (these should not exist in the static ones), it wont be foolprof but better than what is i reckon.
Originally posted by @revelator in msys2/MINGW-packages#8056 (reply in thread)
The text was updated successfully, but these errors were encountered: