Open c0d3h4x0r opened 4 years ago
Looks like this is at least partly due to a bad assumption in this line in main.lua
:
"$(SILENT) objdump --section=.text --line-numbers --syms --demangle $(TARGET) >$(subst .exe,.sym,$(TARGET))"
In this case, the binary being built is a .dll
, not a .exe
, so the subst
command is wrong. This causes the objdump
command to overwrite mame2016_libretro.dll
with itself, corrupting/destroying the binary.
Confirmed: replacing .exe
with .dll
on that line resolved the problem.
Build command used:
make -f Makefile.libretro -j8 SYMBOLS=1
Resulting failure: