Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 453c670

Browse files
committed
Fix bcc to compile libpq by creating include file for path.c.
1 parent 4fa8b44 commit 453c670

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

src/bin/psql/bcc32.mak

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,15 @@ CLEAN :
8383
-@erase "$(OUTDIR)\psql.exe"
8484

8585
pg_config_paths.h: win32.mak
86-
echo #define SYSCONFDIR "" >pg_config_paths.h
86+
echo "#define PGBINDIR "">$@
87+
echo "#define PGSHAREDIR "" >>$@
88+
echo "#define SYSCONFDIR "" >>$@
89+
echo "#define INCLUDEDIR "" >>$@
90+
echo "#define PKGINCLUDEDIR "" >>$@
91+
echo "#define INCLUDEDIRSERVER "" >>$@
92+
echo "#define LIBDIR "" >>$@
93+
echo "#define PKGLIBDIR "" >>$@
94+
echo "#define LOCALEDIR "" >>$@
8795

8896
"$(OUTDIR)" :
8997
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"

src/bin/psql/win32.mak

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,15 @@ CLEAN :
4343
-@erase "$(OUTDIR)\psql.exe"
4444

4545
pg_config_paths.h: win32.mak
46-
echo #define SYSCONFDIR "" >pg_config_paths.h
46+
echo "#define PGBINDIR "">$@
47+
echo "#define PGSHAREDIR "" >>$@
48+
echo "#define SYSCONFDIR "" >>$@
49+
echo "#define INCLUDEDIR "" >>$@
50+
echo "#define PKGINCLUDEDIR "" >>$@
51+
echo "#define INCLUDEDIRSERVER "" >>$@
52+
echo "#define LIBDIR "" >>$@
53+
echo "#define PKGLIBDIR "" >>$@
54+
echo "#define LOCALEDIR "" >>$@
4755

4856
"$(OUTDIR)" :
4957
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"

0 commit comments

Comments
 (0)