summaryrefslogtreecommitdiff
path: root/databases/postgresql14/patches/patch-src_Makefile.global.in
blob: 88c91c112890865109d70a62852f748c95a81a04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-src_Makefile.global.in,v 1.1 2021/10/08 10:23:43 adam Exp $

Fix building on Cygwin.

--- src/Makefile.global.in.orig	2020-09-21 20:47:36.000000000 +0000
+++ src/Makefile.global.in
@@ -728,6 +728,11 @@ ifeq ($(PORTNAME),win32)
 LIBS += -lws2_32
 endif
 
+# missing for link on cygwin ? 
+ifeq ($(PORTNAME),cygwin)
+LIBS +=  $(LDAP_LIBS_BE)
+endif
+
 # Not really standard libc functions, used by the backend.
 TAS         = @TAS@