diff options
author | Alexis Ballier <aballier@gentoo.org> | 2018-04-10 09:43:23 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2018-04-10 10:04:15 +0200 |
commit | 2ef91df1f0f81deca530b90a249c94d86f4ace36 (patch) | |
tree | dcd97b8c06f6c6d28ac4d326c1089f196f9531e3 /media-libs/libaom/files | |
parent | media-libs/libaom: fix libdir in pkgconfig files (diff) | |
download | gentoo-2ef91df1f0f81deca530b90a249c94d86f4ace36.tar.gz gentoo-2ef91df1f0f81deca530b90a249c94d86f4ace36.tar.bz2 gentoo-2ef91df1f0f81deca530b90a249c94d86f4ace36.zip |
media-libs/libaom: fix shared lib underlinking
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'media-libs/libaom/files')
-rw-r--r-- | media-libs/libaom/files/pthread_lib.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/media-libs/libaom/files/pthread_lib.patch b/media-libs/libaom/files/pthread_lib.patch new file mode 100644 index 000000000000..d8770bc687ca --- /dev/null +++ b/media-libs/libaom/files/pthread_lib.patch @@ -0,0 +1,14 @@ +Index: libaom-9999/CMakeLists.txt +=================================================================== +--- libaom-9999.orig/CMakeLists.txt ++++ libaom-9999/CMakeLists.txt +@@ -598,6 +598,9 @@ if (BUILD_SHARED_LIBS) + include("${AOM_ROOT}/build/cmake/exports.cmake") + setup_exports_target() + set_target_properties(aom PROPERTIES SOVERSION 0) ++ if (HAVE_PTHREAD_H AND CONFIG_MULTITHREAD) ++ target_link_libraries(aom ${AOM_LIB_LINK_TYPE} Threads::Threads) ++ endif () + endif () + + # Handle user supplied compile and link flags last to ensure they're obeyed. |