Closed RobLoach closed 8 years ago
@RobLoach thanks for the report, it should be fixed now but please let me know if that's not the case.
gcc -shared -L../src -o test.dll libretro.o -lretroluxury
/usr/bin/ld: ../src/libretroluxury.a(rl_config.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
../src/libretroluxury.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:33: recipe for target 'test.dll' failed
make: *** [test.dll] Error 1
Did send up a compilation error, but still running into the above.
Oops, my bad, I forgot to add -fPIC
to the library build. It's fixed with the latest commit.