diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2020-11-14 21:18:58 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-11-14 21:18:58 +0100 |
commit | 4c2f0f0c02b18b92a700ceffc520a8dcc4b3c699 (patch) | |
tree | c3e98d8722d9f29b5b3b6baf540477ef7620061d /media-libs/libcuefile/files | |
parent | media-libs/libcdaudio: disable static libs (diff) | |
download | gentoo-4c2f0f0c02b18b92a700ceffc520a8dcc4b3c699.tar.gz gentoo-4c2f0f0c02b18b92a700ceffc520a8dcc4b3c699.tar.bz2 gentoo-4c2f0f0c02b18b92a700ceffc520a8dcc4b3c699.zip |
media-libs/libcuefile: disable static libs
Closes: https://bugs.gentoo.org/724594
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-libs/libcuefile/files')
-rw-r--r-- | media-libs/libcuefile/files/libcuefile-static-libs.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/media-libs/libcuefile/files/libcuefile-static-libs.patch b/media-libs/libcuefile/files/libcuefile-static-libs.patch new file mode 100644 index 000000000000..ecb141281bfb --- /dev/null +++ b/media-libs/libcuefile/files/libcuefile-static-libs.patch @@ -0,0 +1,29 @@ +From 9379e01949bc8b9bc59b64a8cd60f947e2443232 Mon Sep 17 00:00:00 2001 +From: Jakov Smolic <jakov.smolic@sartura.hr> +Date: Sun, 20 Sep 2020 22:07:58 +0200 +Subject: [PATCH] src: CMakeLists: disable static libs + +Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> +--- + src/CMakeLists.txt | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index c07fe0d..1bac1aa 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -1,10 +1,7 @@ + add_definitions(-DYY_NEVER_INTERACTIVE) + include_directories(${libcuefile_SOURCE_DIR}/include) + +-add_library(cuefile-static STATIC cd cdtext cue_parse cue_print cue_scan cuefile time toc toc_parse toc_print toc_scan) +-set_target_properties(cuefile-static PROPERTIES OUTPUT_NAME cuefile CLEAN_DIRECT_OUTPUT 1) +- + add_library(cuefile-shared SHARED cd cdtext cue_parse cue_print cue_scan cuefile time toc toc_parse toc_print toc_scan) + set_target_properties(cuefile-shared PROPERTIES OUTPUT_NAME cuefile CLEAN_DIRECT_OUTPUT 1 VERSION 0.0.0 SOVERSION 0) + +-install(TARGETS cuefile-static cuefile-shared LIBRARY DESTINATION "lib${LIB_SUFFIX}" ARCHIVE DESTINATION "lib${LIB_SUFFIX}") ++install(TARGETS cuefile-shared LIBRARY DESTINATION "lib${LIB_SUFFIX}" ARCHIVE DESTINATION "lib${LIB_SUFFIX}") +-- +2.26.2 + |