lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [lucy-commits] [2/4] git commit: refs/heads/master - Don't use -fPIC on Windows
Date Sat, 04 May 2013 17:58:26 GMT
Don't use -fPIC on Windows


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

Branch: refs/heads/master
Commit: 9844674b31803953ca60c1bde4d6420f417b6841
Parents: c8ebd58
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Sat May 4 18:21:07 2013 +0200
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Sat May 4 19:03:19 2013 +0200

----------------------------------------------------------------------
 charmonizer/src/Charmonizer/Core/CFlags.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/9844674b/charmonizer/src/Charmonizer/Core/CFlags.c
----------------------------------------------------------------------
diff --git a/charmonizer/src/Charmonizer/Core/CFlags.c b/charmonizer/src/Charmonizer/Core/CFlags.c
index ffd5b9a..1651925 100644
--- a/charmonizer/src/Charmonizer/Core/CFlags.c
+++ b/charmonizer/src/Charmonizer/Core/CFlags.c
@@ -184,7 +184,9 @@ chaz_CFlags_set_warnings_as_errors(chaz_CFlags *flags) {
 void
 chaz_CFlags_compile_shared_library(chaz_CFlags *flags) {
     const char *string;
-    if (flags->style != CHAZ_CFLAGS_STYLE_GNU) {
+    if (flags->style != CHAZ_CFLAGS_STYLE_GNU
+        || strcmp(chaz_OS_shared_lib_ext(), ".dll") == 0
+       ) {
         return;
     }
     if (chaz_OS_is_darwin()) {


Mime
View raw message