Skip to content
Snippets Groups Projects
Commit 453c670b authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Fix bcc to compile libpq by creating include file for path.c.

parent 4fa8b447
No related branches found
No related tags found
No related merge requests found
...@@ -83,7 +83,15 @@ CLEAN : ...@@ -83,7 +83,15 @@ CLEAN :
-@erase "$(OUTDIR)\psql.exe" -@erase "$(OUTDIR)\psql.exe"
pg_config_paths.h: win32.mak pg_config_paths.h: win32.mak
echo #define SYSCONFDIR "" >pg_config_paths.h echo "#define PGBINDIR "">$@
echo "#define PGSHAREDIR "" >>$@
echo "#define SYSCONFDIR "" >>$@
echo "#define INCLUDEDIR "" >>$@
echo "#define PKGINCLUDEDIR "" >>$@
echo "#define INCLUDEDIRSERVER "" >>$@
echo "#define LIBDIR "" >>$@
echo "#define PKGLIBDIR "" >>$@
echo "#define LOCALEDIR "" >>$@
"$(OUTDIR)" : "$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
......
...@@ -43,7 +43,15 @@ CLEAN : ...@@ -43,7 +43,15 @@ CLEAN :
-@erase "$(OUTDIR)\psql.exe" -@erase "$(OUTDIR)\psql.exe"
pg_config_paths.h: win32.mak pg_config_paths.h: win32.mak
echo #define SYSCONFDIR "" >pg_config_paths.h echo "#define PGBINDIR "">$@
echo "#define PGSHAREDIR "" >>$@
echo "#define SYSCONFDIR "" >>$@
echo "#define INCLUDEDIR "" >>$@
echo "#define PKGINCLUDEDIR "" >>$@
echo "#define INCLUDEDIRSERVER "" >>$@
echo "#define LIBDIR "" >>$@
echo "#define PKGLIBDIR "" >>$@
echo "#define LOCALEDIR "" >>$@
"$(OUTDIR)" : "$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment