projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52dda5e
)
Linking with -lc or -lm crashes on Cygwin; filter out those libraries from
author
Peter Eisentraut
Fri, 29 Sep 2000 13:36:50 +0000
(13:36 +0000)
committer
Peter Eisentraut
Fri, 29 Sep 2000 13:36:50 +0000
(13:36 +0000)
the LIBS variable.
src/makefiles/Makefile.win
patch
|
blob
|
blame
|
history
diff --git
a/src/makefiles/Makefile.win
b/src/makefiles/Makefile.win
index 2f4d723edd6190f9a7578bfc1a8becb7c0e79ec0..ddc442d491f4aa3e454ce40f52605c6d2c028974 100644
(file)
--- a/
src/makefiles/Makefile.win
+++ b/
src/makefiles/Makefile.win
@@
-1,3
+1,4
@@
+# $Header: /cvsroot/pgsql/src/makefiles/Attic/Makefile.win,v 1.5 2000/09/29 13:36:50 petere Exp $
LDFLAGS+= -g
DLLTOOL= dlltool
DLLWRAP= dllwrap
@@
-6,6
+7,9
@@
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))
%.dll: %.o
$(DLLTOOL) --export-all --output-def $*.def $<