summaryrefslogtreecommitdiff
path: root/tests/fake-curl/curl-config-empty
blob: cf9361502ae2eb57858cb6387b730f964c4347c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

# A curl-config that returns empty responses as much as possible

output=

while test -n "$1"; do
  case "$1" in
  --libs)
    # --libs or --static-libs must succeed and produce output
    echo '-lcurl'
    ;;
  esac
  shift
done