summaryrefslogtreecommitdiff
path: root/databases/postgresql15/patches/patch-src_Makefile.global.in
blob: 4f8d6bfe3ce7090629b12e1898ee3cd4fd748c29 (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 2022/10/19 13:16:45 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@