summaryrefslogtreecommitdiff
path: root/release/mkemptyso.sh
blob: 0260a48ea7e3d5f4247e3d9147c1bdc24b9b29cf (plain)
1
2
3
4
5
#!/bin/sh
# args: $1 -- destination .so file
SO=$1
GCC=${GCC-i386-gnu-gcc}
$GCC -nostdlib -shared -fPIC -x c /dev/null -Wl,-soname=`basename $SO` -o $SO