mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
Apply Win32 patch from Horak Daniel.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
# Copyright (c) 1994, Regents of the University of California
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile.in,v 1.10 1998/10/19 00:00:46 tgl Exp $
|
||||
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile.in,v 1.11 1999/01/17 06:19:39 momjian Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
@@ -44,7 +44,11 @@ endif
|
||||
|
||||
OBJS = pgenv.o pgconnection.o pgtransdb.o pgcursordb.o pglobject.o
|
||||
|
||||
ifeq ($(PORTNAME), win)
|
||||
SHLIB_LINK+= -L../libpq -lpq -lstdc++
|
||||
else
|
||||
SHLIB_LINK= -L../libpq -lpq
|
||||
endif
|
||||
|
||||
# Shared library stuff, also default 'all' target
|
||||
include $(SRCDIR)/Makefile.shlib
|
||||
@@ -87,6 +91,9 @@ beforeinstall-headers:
|
||||
clean:
|
||||
rm -f libpq++.a $(shlib) $(OBJS)
|
||||
$(MAKE) -C examples clean
|
||||
ifeq ($(PORTNAME), win)
|
||||
rm -f pq++.def
|
||||
endif
|
||||
|
||||
dep depend:
|
||||
$(CXX) -MM $(CXXFLAGS) *.cc >depend
|
||||
|
||||
Reference in New Issue
Block a user