mirror of https://github.com/omar-polo/gmid.git
fix detection on non-openbsd systems
This commit is contained in:
parent
337c74209b
commit
1516fd4dad
|
@ -76,12 +76,15 @@ if which pkg-config 2>/dev/null 1>&2; then
|
||||||
LDFLAGS="${LDFLAGS} $(pkg-config --libs openssl)"
|
LDFLAGS="${LDFLAGS} $(pkg-config --libs openssl)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! [ "$(uname)" = "OpenBSD" ]; then
|
case "$(uname)" in
|
||||||
if pkg-config libevent; then
|
OpenBSD) ;;
|
||||||
CFLAGS="${CFLAGS} $(pkg-config --cflags openssl)"
|
*)
|
||||||
LDFLAGS="${LDFLAGS} $(pkg-config --libs openssl)"
|
if pkg-config libevent; then
|
||||||
fi
|
CFLAGS="${CFLAGS} $(pkg-config --cflags libevent)"
|
||||||
fi
|
LDFLAGS="${LDFLAGS} $(pkg-config --libs libevent)"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# auto detect lex/flex
|
# auto detect lex/flex
|
||||||
|
|
Loading…
Reference in New Issue