summaryrefslogtreecommitdiff
path: root/databases/postgresql13/patches/patch-src_Makefile.global.in
blob: 5286fcc105bb2a759c2a991ec92f24dd280279a1 (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 2020/10/18 09:24:02 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@