summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc
diff options
context:
space:
mode:
authorBruce Momjian2001-05-25 14:28:58 +0000
committerBruce Momjian2001-05-25 14:28:58 +0000
commit74068dfed65c3a681cb2724ad320d007d3dbb662 (patch)
tree5732b4fe5b26ad5dce8f19b72c2fea01cbcc2496 /src/interfaces/jdbc
parente5cff3fe641c35d4a1f73c9c79679799098edb41 (diff)
The following patch corrects a make install problem when building
under Cygwin. The root cause of this problem is that (Sun) java is a native Win32 app and hence does not understand Cygwin Posix style paths. The solution is to use Cygwin's cygpath utility to convert the Posix style JDBC installation directory path into a Win32 one before invoking ant. I'm not sure if my patch is the best way to correct this issue but my goal was to confine the Cygwin specific constructs to Jason Tishler
Diffstat (limited to 'src/interfaces/jdbc')
-rw-r--r--src/interfaces/jdbc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/jdbc/Makefile b/src/interfaces/jdbc/Makefile
index b6311dd3a42..c6e7fc6604a 100644
--- a/src/interfaces/jdbc/Makefile
+++ b/src/interfaces/jdbc/Makefile
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
-# $Header: /cvsroot/pgsql/src/interfaces/jdbc/Attic/Makefile,v 1.30 2001/05/17 03:22:53 momjian Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/jdbc/Attic/Makefile,v 1.31 2001/05/25 14:28:58 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -23,7 +23,7 @@ all:
$(ANT) -buildfile $(top_srcdir)/build.xml $(properties)
install: installdirs
- $(ANT) -Dinstall.directory=$(DESTDIR)$(datadir)/java \
+ $(ANT) -Dinstall.directory=$(javadir) \
-buildfile $(top_srcdir)/build.xml \
install $(properties)