diff options
author | Omar Polo <op@omarpolo.com> | 2021-07-07 08:41:27 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-07-07 08:41:27 +0000 |
commit | 1a572d422159b247922d8b22c58e7b60c35d6fc6 (patch) | |
tree | 7f52e4c7da4b986d41e83e9a251791970f1daed9 | |
parent | af15474448e4ccafd4c05d2963d2131db33d92bb (diff) |
check libimsg too
patch from Anna "CyberTailor"
-rwxr-xr-x | configure | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -83,13 +83,18 @@ if which pkg-config 2>/dev/null 1>&2; then case "$(uname)" in OpenBSD) - # use libevent in base + # use libevent and imsg in base ;; *) if pkg-config libevent; then add_cflags "$(pkg-config --cflags libevent)" add_ldflags "$(pkg-config --libs libevent)" fi + + if pkg-config libimsg; then + add_cflags "$(pkg-config --cflags libimsg)" + add_ldflags "$(pkg-config --libs libimsg)" + fi ;; esac fi |