From fa838b555f90039ae5f0e6fb86ccae6a88b42703 Mon Sep 17 00:00:00 2001
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: Thu, 7 Jan 2016 18:50:28 -0300
Subject: [PATCH] Add win32security to LIBOBJS

This seems to fix Mingw's compile that was broken in a967613911f7e, as
evidenced by buildfarm.
---
 configure    | 6 ++++++
 configure.in | 1 +
 2 files changed, 7 insertions(+)

diff --git a/configure b/configure
index f6f82b2157e..3dd1b152c6c 100755
--- a/configure
+++ b/configure
@@ -13026,6 +13026,12 @@ esac
  ;;
 esac
 
+  case " $LIBOBJS " in
+  *" win32security.$ac_objext "* ) ;;
+  *) LIBOBJS="$LIBOBJS win32security.$ac_objext"
+ ;;
+esac
+
   case " $LIBOBJS " in
   *" win32setlocale.$ac_objext "* ) ;;
   *) LIBOBJS="$LIBOBJS win32setlocale.$ac_objext"
diff --git a/configure.in b/configure.in
index 678432f1289..93984822e47 100644
--- a/configure.in
+++ b/configure.in
@@ -1577,6 +1577,7 @@ if test "$PORTNAME" = "win32"; then
   AC_LIBOBJ(system)
   AC_LIBOBJ(win32env)
   AC_LIBOBJ(win32error)
+  AC_LIBOBJ(win32security)
   AC_LIBOBJ(win32setlocale)
   AC_DEFINE([HAVE_SYMLINK], 1,
             [Define to 1 if you have the `symlink' function.])
-- 
GitLab