summaryrefslogtreecommitdiffstats
path: root/src/metadata/m4a
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2025-01-25 01:31:28 +0100
committerSlávek Banko <[email protected]>2025-01-25 22:52:39 +0100
commit62c533380bdcf46e4500315455efff14828651b0 (patch)
treee513c354f294b01430998f2cbee64952f90d9392 /src/metadata/m4a
parent34d733475f8f959d9bac4afdfe4cc639c31d0d16 (diff)
downloadsoundkonverter-62c533380bdcf46e4500315455efff14828651b0.tar.gz
soundkonverter-62c533380bdcf46e4500315455efff14828651b0.zip
Fix the problem of linking taglib2 on 32 bit architectures
if taglib is not built with large files support. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit bee4995859c674cc3c913cfec544b41efed934a9)
Diffstat (limited to 'src/metadata/m4a')
-rw-r--r--src/metadata/m4a/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/metadata/m4a/CMakeLists.txt b/src/metadata/m4a/CMakeLists.txt
index 5595611..12030ad 100644
--- a/src/metadata/m4a/CMakeLists.txt
+++ b/src/metadata/m4a/CMakeLists.txt
@@ -12,6 +12,10 @@ link_directories(
${TDE_LIB_DIR}
)
+if( NOT TAGLIB_LARGE_FILES_SUPPORT )
+ add_definitions( -U_LARGE_FILES -U_LARGEFILE_SOURCE -U_FILE_OFFSET_BITS )
+endif()
+
##### pluginloader