Closed r-a-sattarov closed 3 years ago
Some Linux builds fail like this, any suggestion?
[ 73%] Linking C shared library liblibunshield.so
/usr/bin/ld: convert_utf/libconvert_utf.a(ConvertUTF.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/CMakeFiles/libunshield.dir/build.make:195: lib/liblibunshield.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:140: lib/CMakeFiles/libunshield.dir/all] Error 2
make: *** [Makefile:133: all] Error 2
Great job, thank you @r-a-sattarov!
fix https://github.com/twogood/unshield/issues/108