lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject git commit: refs/heads/master - Regenerate charmonizer.c to fix shared lib cflags
Date Thu, 24 Jul 2014 12:09:04 GMT
Repository: lucy
Updated Branches:
  refs/heads/master 605f35063 -> 3accfc8f6


Regenerate charmonizer.c to fix shared lib cflags


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

Branch: refs/heads/master
Commit: 3accfc8f659477c44c2e063d0897b8e332eb877e
Parents: 605f350
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Thu Jul 24 14:08:49 2014 +0200
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Thu Jul 24 14:08:49 2014 +0200

----------------------------------------------------------------------
 common/charmonizer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/3accfc8f/common/charmonizer.c
----------------------------------------------------------------------
diff --git a/common/charmonizer.c b/common/charmonizer.c
index 05c954d..c2d9ba0 100644
--- a/common/charmonizer.c
+++ b/common/charmonizer.c
@@ -1842,7 +1842,7 @@ chaz_CFlags_compile_shared_library(chaz_CFlags *flags) {
     if (flags->style == CHAZ_CFLAGS_STYLE_MSVC) {
         string = "/MD";
     }
-    else if (flags->style != CHAZ_CFLAGS_STYLE_GNU) {
+    else if (flags->style == CHAZ_CFLAGS_STYLE_GNU) {
         const char *shlib_ext = chaz_OS_shared_lib_ext();
         if (strcmp(shlib_ext, ".dylib") == 0) {
             string = "-fno-common";


Mime
View raw message