lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [lucy-commits] [1/4] git commit: refs/heads/master - Fix Cygwin detection
Date Sat, 04 May 2013 17:58:25 GMT
Updated Branches:
  refs/heads/master b2e42b386 -> 271bd85dd


Fix Cygwin detection


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/c8ebd584
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/c8ebd584
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/c8ebd584

Branch: refs/heads/master
Commit: c8ebd584a1e55dcd7526a7bf4452abaf55c5f97c
Parents: b2e42b3
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Sat May 4 18:18:09 2013 +0200
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Sat May 4 18:18:09 2013 +0200

----------------------------------------------------------------------
 charmonizer/src/Charmonizer/Core/Compiler.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/c8ebd584/charmonizer/src/Charmonizer/Core/Compiler.c
----------------------------------------------------------------------
diff --git a/charmonizer/src/Charmonizer/Core/Compiler.c b/charmonizer/src/Charmonizer/Core/Compiler.c
index 2130b47..22390b4 100644
--- a/charmonizer/src/Charmonizer/Core/Compiler.c
+++ b/charmonizer/src/Charmonizer/Core/Compiler.c
@@ -364,7 +364,7 @@ chaz_CC_shared_lib_file(const char *name) {
     const char *prefix = "";
     const char *shlib_ext = chaz_OS_shared_lib_ext();
     if (!chaz_CC.intval__MSC_VER) {
-        if (strcmp(chaz_OS_name(), "cygwin") == 0) {
+        if (chaz_OS_is_cygwin()) {
             prefix = "cyg";
         }
         else {


Mime
View raw message