Skip to content

Commit e9282e9

Browse files
committed
Blind attempt at a Cygwin fix
Further portability fix for a967613. Mingw- and MSVC-based builds appear to be working fine, but Cygwin needs an extra tweak whereby the new win32security.c file is explicitely added to the list of files to build in pgport, per Cygwin members brolga and lorikeet. Author: Michael Paquier
1 parent 2650486 commit e9282e9

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

configure

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13075,6 +13075,12 @@ if test "$PORTNAME" = "cygwin"; then
1307513075
;;
1307613076
esac
1307713077

13078+
case " $LIBOBJS " in
13079+
*" win32security.$ac_objext "* ) ;;
13080+
*) LIBOBJS="$LIBOBJS win32security.$ac_objext"
13081+
;;
13082+
esac
13083+
1307813084
fi
1307913085

1308013086
ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "#include <signal.h>

configure.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1596,6 +1596,7 @@ fi
15961596
# Cygwin needs only a bit of that
15971597
if test "$PORTNAME" = "cygwin"; then
15981598
AC_LIBOBJ(dirmod)
1599+
AC_LIBOBJ(win32security)
15991600
fi
16001601

16011602
AC_CHECK_DECLS([sys_siglist], [], [],

0 commit comments

Comments
 (0)