blob: c13472ce0f1898f0856c33a926039a9f1a913419 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
ld="`head -1 ../conf-ld`"
qlibs="`head -1 ../conf-qlibs`"
systype="`cat systype`"
flag=0
rm -f trycpp.o
flag=`cc -c tryssl.c -m64 2>&1 | wc -l`
if [ $flag -eq 0 ]; then
ld="$ld -m64"
fi
rm -f trycpp.o
cat warn-auto.sh
echo 'main="$1"; shift'
echo exec "$ld" -L"${qlibs}" '-o "$main" "$main".o ${1+"$@"} -ldnsresolv -lqlibs'
|