lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [2/2] git commit: Fix shared library cflags
Date Thu, 24 Jul 2014 12:15:46 GMT
Fix shared library cflags


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

Branch: refs/heads/master
Commit: 9cc154147916948a5a63775ef2829ad3e7985cb8
Parents: 3eef827
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Thu Jul 24 14:07:14 2014 +0200
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Thu Jul 24 14:07:14 2014 +0200

----------------------------------------------------------------------
 src/Charmonizer/Core/CFlags.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-charmonizer/blob/9cc15414/src/Charmonizer/Core/CFlags.c
----------------------------------------------------------------------
diff --git a/src/Charmonizer/Core/CFlags.c b/src/Charmonizer/Core/CFlags.c
index 9d0b151..91a7c68 100644
--- a/src/Charmonizer/Core/CFlags.c
+++ b/src/Charmonizer/Core/CFlags.c
@@ -196,7 +196,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