Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1e2eb21

Browse files
committed
Linking with -lc or -lm crashes on Cygwin; filter out those libraries from
the LIBS variable.
1 parent52dda5e commit1e2eb21

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/makefiles/Makefile.win

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# $Header: /cvsroot/pgsql/src/makefiles/Attic/Makefile.win,v 1.5 2000/09/29 13:36:50 petere Exp $
12
LDFLAGS+= -g
23
DLLTOOL= dlltool
34
DLLWRAP= dllwrap
@@ -6,6 +7,9 @@ MK_NO_LORDER=true
67
MAKE_DLL=true
78
#MAKE_DLL=false
89
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))
913

1014
%.dll: %.o
1115
$(DLLTOOL) --export-all --output-def $*.def $<

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp