diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2012-03-23 00:03:42 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2012-03-23 00:03:42 -0500 |
commit | 91bcccc2fd4189c3e8054eba27c10ec3488614bf (patch) | |
tree | b401858a36eed888cb2943da960bb5c5b1d7c0e5 /ncurses-5.7-17.extra.patch | |
download | cygwin-ncurses-91bcccc2fd4189c3e8054eba27c10ec3488614bf.tar.gz cygwin-ncurses-91bcccc2fd4189c3e8054eba27c10ec3488614bf.tar.xz cygwin-ncurses-91bcccc2fd4189c3e8054eba27c10ec3488614bf.zip |
cygwin-ncurses 5.7-1
Diffstat (limited to 'ncurses-5.7-17.extra.patch')
-rw-r--r-- | ncurses-5.7-17.extra.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ncurses-5.7-17.extra.patch b/ncurses-5.7-17.extra.patch new file mode 100644 index 0000000..782dc74 --- /dev/null +++ b/ncurses-5.7-17.extra.patch @@ -0,0 +1,21 @@ +--- origsrc/ncurses-5.7/configure 2009-12-31 11:11:27.771000000 -0500 ++++ src/ncurses-5.7/configure 2009-12-31 11:58:53.766000000 -0500 +@@ -10322,7 +10322,17 @@ + LIBS=`echo "$LIBS" | sed -e 's/-lpthread[ ]//g' -e 's/-lpthread$//'` + + else +- LIB_SUFFIX="t${LIB_SUFFIX}" ++ # when not using weak symbols but with_reentrant, ++ # add 't' to the library suffix on all platforms ++ # except cygwin, where we only do that if ALSO ++ # compiling with full thread support. ++ case "$host" in ++ *cygwin* ) ++ if test "$with_pthread" = "yes" ; then ++ LIB_SUFFIX="t${LIB_SUFFIX}" ++ fi ;; ++ * ) LIB_SUFFIX="t${LIB_SUFFIX}" ;; ++ esac + fi + cat >>confdefs.h <<\EOF + #define USE_REENTRANT 1 |