luaossl icon indicating copy to clipboard operation
luaossl copied to clipboard

Remove source paths from build

Open jprjr opened this issue 4 years ago • 1 comments

This helps with reproducible builds by making __FILE__ resolve to just the source filename instead of the full path (which can differ from build to build).

jprjr avatar Nov 12 '20 21:11 jprjr

While this does seem to help, the build artifact still has my build directory in it:

$ strings before.so | grep daurn
/home/daurnimator/src/luaossl/src/openssl.c
/home/daurnimator/src/luaossl/src
/home/daurnimator/src/luaossl/src/openssl.c
/home/daurnimator/src/luaossl
$ strings after.so | grep daurn
/home/daurnimator/src/luaossl

daurnimator avatar Apr 19 '21 14:04 daurnimator