We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 492319a commit e1a44c9Copy full SHA for e1a44c9
build.sh
@@ -100,13 +100,12 @@ if [ $shared ]; then
100
case $flavour in
101
macosx) (set -x; ${CC} -dynamiclib -o libblst$dll.dylib \
102
-all_load libblst.a ${CFLAGS}); exit 0;;
103
- mingw*) sharedlib=blst.dll
+ mingw*) sharedlib="blst.dll ${TOP}/build/win64/blst.def"
104
CFLAGS="${CFLAGS} --entry=DllMain ${TOP}/build/win64/dll.c"
105
CFLAGS="${CFLAGS} -nostdlib -lgcc";;
106
*) sharedlib=libblst$dll.so;;
107
esac
108
- echo "{ global: blst_*; BLS12_381_*; local: *; };" > ${TMPDIR}/ld.blst.$$
109
(set -x; ${CC} -shared -o $sharedlib \
110
-Wl,--whole-archive,libblst.a,--no-whole-archive ${CFLAGS} \
111
- -Wl,-Bsymbolic,--version-script=${TMPDIR}/ld.blst.$$)
+ -Wl,-Bsymbolic)
112
fi
0 commit comments