blob: 6c30ed5a0d8620ba14f3aa7907271aa43bbea1b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
$NetBSD: patch-src_Makefile.global.in,v 1.1 2017/10/23 20:33:49 adam Exp $
Do not store CONFIGURE_ARGS, as these may contain working directory references.
Fix building on Cygwin.
--- src/Makefile.global.in.orig 2017-10-02 21:09:15.000000000 +0000
+++ src/Makefile.global.in
@@ -74,8 +74,6 @@ endif # not PGXS
vpathsearch = `for f in $(addsuffix /$(1),$(subst :, ,. $(VPATH))); do test -r $$f && echo $$f && break; done`
-# Saved arguments from configure
-configure_args = @configure_args@
##########################################################################
@@ -641,6 +639,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@
|