summaryrefslogtreecommitdiff
path: root/user/uchardet/no-debug-suffix.patch
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman@gmail.com>2020-06-13 08:29:54 +0000
committerKiyoshi Aman <kiyoshi.aman@gmail.com>2020-06-13 08:36:44 +0000
commita627c2d5b575b97f622728f63140c41dde93828b (patch)
tree00875a34dcee6a9e04fae55142b567d5eeaa5b29 /user/uchardet/no-debug-suffix.patch
parentb8aef1913e7dc672a1d25d18a83e882590cd1678 (diff)
downloadpackages-a627c2d5b575b97f622728f63140c41dde93828b.tar.gz
packages-a627c2d5b575b97f622728f63140c41dde93828b.tar.bz2
packages-a627c2d5b575b97f622728f63140c41dde93828b.tar.xz
packages-a627c2d5b575b97f622728f63140c41dde93828b.zip
user/uchardet: remove .debug suffix from library
Diffstat (limited to 'user/uchardet/no-debug-suffix.patch')
-rw-r--r--user/uchardet/no-debug-suffix.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/user/uchardet/no-debug-suffix.patch b/user/uchardet/no-debug-suffix.patch
new file mode 100644
index 000000000..f12bb565e
--- /dev/null
+++ b/user/uchardet/no-debug-suffix.patch
@@ -0,0 +1,14 @@
+diff -Nurd uchardet-0.0.7/CMakeLists.txt uchardet-0.0.7.new/CMakeLists.txt
+--- uchardet-0.0.7/CMakeLists.txt 2020-04-23 09:48:58.000000000 +0000
++++ uchardet-0.0.7.new/CMakeLists.txt 2020-06-13 08:26:38.946585352 +0000
+@@ -12,10 +12,6 @@
+ set (UCHARDET_VERSION_MINOR 0)
+ set (UCHARDET_VERSION_REVISION 7)
+
+-if (CMAKE_BUILD_TYPE MATCHES Debug)
+- set (version_suffix .debug)
+-endif (CMAKE_BUILD_TYPE MATCHES Debug)
+-
+ set (
+ UCHARDET_VERSION
+ ${UCHARDET_VERSION_MAJOR}.${UCHARDET_VERSION_MINOR}.${UCHARDET_VERSION_REVISION}${version_suffix}