mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Make sure -L and -I's for our source tree are always before system include
or library directories on the command line.
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
# $Header: /cvsroot/pgsql/src/makefiles/Attic/Makefile.win,v 1.8 2001/01/09 18:45:41 petere Exp $
|
||||
# $Header: /cvsroot/pgsql/src/makefiles/Attic/Makefile.win,v 1.9 2001/02/20 19:20:29 petere Exp $
|
||||
LDFLAGS+= -g
|
||||
DLLTOOL= dlltool
|
||||
DLLWRAP= dllwrap
|
||||
DLLLIBS=-L/usr/local/lib -L$(top_builddir)/src/backend -lpostgres -lcygipc -lcygwin -lcrypt -lkernel32
|
||||
DLLLIBS=-L$(top_builddir)/src/backend -lpostgres -lcygipc -lcygwin -lcrypt -lkernel32
|
||||
MK_NO_LORDER=true
|
||||
MAKE_DLL=true
|
||||
#MAKE_DLL=false
|
||||
SHLIB_LINK=$(DLLLIBS)
|
||||
# linking with -lm or -lc causes program to crash
|
||||
# (see http://sources.redhat.com/cygwin/faq/faq.html#SEC110)
|
||||
LIBS:=$(filter-out -lm -lc, $(LIBS))
|
||||
|
Reference in New Issue
Block a user