mirror of https://github.com/omar-polo/gmid.git
check freedesktop's libbsd
This commit is contained in:
parent
9797799ad4
commit
9c84a04f9c
|
@ -98,6 +98,17 @@ if which pkg-config 2>/dev/null 1>&2; then
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
case "$(uname)" in
|
||||||
|
*BSD|DragonFly|Darwin)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
if pkg-config libbsd-ctor libbsd-overlay; then
|
||||||
|
add_cflags "libbsd-ctor libbsd-overlay"
|
||||||
|
add_ldflags "libbsd-ctor libbsd-overlay"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# auto detect yacc/bison
|
# auto detect yacc/bison
|
||||||
|
|
Loading…
Reference in New Issue