summaryrefslogtreecommitdiff
path: root/community/e4rat/e4rat-static_core.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/e4rat/e4rat-static_core.patch')
-rw-r--r--community/e4rat/e4rat-static_core.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/e4rat/e4rat-static_core.patch b/community/e4rat/e4rat-static_core.patch
new file mode 100644
index 000000000..f9aac8208
--- /dev/null
+++ b/community/e4rat/e4rat-static_core.patch
@@ -0,0 +1,15 @@
+--- src/CMakeLists.txt.orig 2012-04-16 13:52:10.993586393 +0200
++++ src/CMakeLists.txt 2012-04-16 13:52:22.503586159 +0200
+@@ -5,11 +5,7 @@
+ MESSAGE(FATAL_ERROR "Do not run cmake on subdirectories")
+ ENDIF()
+
+-if(CMAKE_SIZEOF_VOID_P MATCHES 4)
+- SET(BUILD_CORE_LIBRARY_STATIC 0)
+-else(CMAKE_SIZEOF_VOID_P MATCHES 4)
+- SET(BUILD_CORE_LIBRARY_STATIC 1)
+-endif(CMAKE_SIZEOF_VOID_P MATCHES 4)
++SET(BUILD_CORE_LIBRARY_STATIC 1)
+
+ #TODO permit link dependencies not static
+ #set(LINK_DEPENDENIES "static")