lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [lucy-commits] [1/8] git commit: refs/heads/master - C89 fix for Charmonizer
Date Thu, 02 May 2013 14:03:02 GMT
Updated Branches:
  refs/heads/master a879c1629 -> b2e42b386


C89 fix for Charmonizer


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

Branch: refs/heads/master
Commit: 848adfc818f0edccfbfffb66fd8a92f2fbca69d5
Parents: a879c16
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Thu May 2 14:01:11 2013 +0200
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Thu May 2 14:01:11 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/848adfc8/charmonizer/src/Charmonizer/Core/Compiler.c
----------------------------------------------------------------------
diff --git a/charmonizer/src/Charmonizer/Core/Compiler.c b/charmonizer/src/Charmonizer/Core/Compiler.c
index fb0d960..2130b47 100644
--- a/charmonizer/src/Charmonizer/Core/Compiler.c
+++ b/charmonizer/src/Charmonizer/Core/Compiler.c
@@ -362,6 +362,7 @@ chaz_CC_link_command() {
 char*
 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) {
             prefix = "cyg";
@@ -370,7 +371,6 @@ chaz_CC_shared_lib_file(const char *name) {
             prefix = "lib";
         }
     }
-    const char *shlib_ext = chaz_OS_shared_lib_ext();
     return chaz_Util_join("", prefix, name, shlib_ext, NULL);
 }
 


Mime
View raw message