summaryrefslogtreecommitdiff
path: root/community/e4rat/e4rat-static_core.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-18 00:01:47 +0000
committerroot <root@rshg054.dnsready.net>2012-04-18 00:01:47 +0000
commit637c1cfdcd258a870ad5367cbf47a8a2799039c7 (patch)
tree04dabe84f2527ce4ef85b0905f186ebb93cacdb9 /community/e4rat/e4rat-static_core.patch
parent0fb510ac9b1defac6c3d54a68eccd7e18635b474 (diff)
Wed Apr 18 00:01:47 UTC 2012
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")