Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52dda5e commit 1e2eb21Copy full SHA for 1e2eb21
src/makefiles/Makefile.win
@@ -1,3 +1,4 @@
1
+# $Header: /cvsroot/pgsql/src/makefiles/Attic/Makefile.win,v 1.5 2000/09/29 13:36:50 petere Exp $
2
LDFLAGS+= -g
3
DLLTOOL= dlltool
4
DLLWRAP= dllwrap
@@ -6,6 +7,9 @@ MK_NO_LORDER=true
6
7
MAKE_DLL=true
8
#MAKE_DLL=false
9
SHLIB_LINK=$(DLLLIBS)
10
+# linking with -lm or -lc causes program to crash
11
+# (see http://sources.redhat.com/cygwin/faq/faq.html#SEC110)
12
+LIBS:=$(filter-out -lm -lc, $(LIBS))
13
14
%.dll: %.o
15
$(DLLTOOL) --export-all --output-def $*.def $<
0 commit comments