Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit46866e9

Browse files
committed
Fix for cross-compilation between mingw32 and something else. The choice
of pwd vs. pwd -W is correctly a function of the build system, not thehost system.
1 parent26af72b commit46866e9

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

‎src/Makefile.global.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*-makefile-*-
2-
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.249 2008/12/11 07:34:07 petere Exp $
2+
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.250 2009/01/05 09:54:12 petere Exp $
33

44
#------------------------------------------------------------------------------
55
# All PostgreSQL makefiles include this file and use the variables it sets,
@@ -322,6 +322,8 @@ WANTED_LANGUAGES = @WANTED_LANGUAGES@
322322
# Name of the "template"
323323
PORTNAME= @PORTNAME@
324324

325+
build_os = @build_os@
326+
325327
host_tuple = @host@
326328
host_os = @host_os@
327329
host_cpu = @host_cpu@

‎src/interfaces/ecpg/test/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/src/interfaces/ecpg/test/Makefile,v 1.75 2008/12/01 11:37:37 meskes Exp $
1+
# $PostgreSQL: pgsql/src/interfaces/ecpg/test/Makefile,v 1.76 2009/01/05 09:54:13 petere Exp $
22

33
subdir = src/interfaces/ecpg/test
44
top_builddir = ../../../..
@@ -16,7 +16,7 @@ ifdef NO_LOCALE
1616
NOLOCALE += --no-locale
1717
endif
1818

19-
ifneq ($(PORTNAME),win32)
19+
ifneq ($(build_os),mingw32)
2020
abs_builddir :=$(shell pwd)
2121
else
2222
abs_builddir :=$(shell pwd -W)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp