summaryrefslogtreecommitdiff
path: root/src/print-dl.sh
blob: faa491c9ad0612c786888257767802e91407e548 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ssllib="`head -1 ../conf-ssllib`"

dlflag=0

rm -f trycpp.o

dlflag=`cc -c tryssl.c -ldl 2>&1 | wc -l`
if [ $dlflag -eq 0 ]; then
  ssllib="$ssllib -ldl"
fi

rm -f trycpp.o

echo $ssllib