commit - a510db74fc60784c1f296b6acc484731bd3cec29
commit + 3f1103ea8d6aba2aad6eee95d8a0009bd24bd337
blob - 6a3a18faaabe47a9862b32e195875fbf9e8f139d
blob + 1a04a063314fb2fb9e9b5344a346eb6e4c2dcead
--- configure.ac
+++ configure.ac
[#include <sys/tree.h>]
)
-#FIXME: May need OS-wrapping.
+if test "x$PLATFORM" != "xopenbsd"; then
PKG_CHECK_MODULES(
LIBTLS,
[libtls],
],
AC_MSG_ERROR(["*** Couldn't find libtls ***"])
)
+fi
# Look for __progname.
AC_MSG_CHECKING(for __progname)
blob - 074f090189c0020b1260a2ec1af10d5ffa993941
blob + 1cbc9bf79ffeb8bb5f2f5e42877dfb8c3a155986
--- gotd/libexec/got-notify-http/Makefile.am
+++ gotd/libexec/got-notify-http/Makefile.am
LDADD += -lmd
endif
+if HOST_OPENBSD
+LDADD += -ltls
+endif
+
AM_CPPFLAGS += $(zlib_CFLAGS) $(libbsd_CFLAGS) $(libmd_CFLAGS) $(libtls_CFLAGS)
blob - 65311c88d9aad779d8466977cc63c096f2755620
blob + 09e3108e74b8a627368a0806fae43f2eebf95708
--- libexec/got-fetch-http/Makefile.am
+++ libexec/got-fetch-http/Makefile.am
LDADD += -lmd
endif
+if HOST_OPENBSD
+LDADD += -ltls
+endif
+
AM_CPPFLAGS += $(zlib_CFLAGS) $(libbsd_CFLAGS) $(libmd_CFLAGS) $(libtls_CFLAGS)