Skip to content

autobuilder: static link CMake packages fixes

Samuel Martin buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest9 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9package/cmake: add host-pkgconf as dependencypackage/cmake/cmake.mk+2 -01 reply
2/9package/yajl: add sequence number in patch namespackage/yajl/yajl-0001-math-link.patch+0 -01 reply
3/9package/yajl: fix static linkpackage/yajl/yajl-0002-cmake-disable-shared-library-build-when-BUILD_SHARED.patch+44 -01 reply
4/9package/libplist: fix static linkpackage/libplist/libplist-0001-cmake-let-CMake-drives-the-library-type.patch package/libplist/libplist-0002-cmake-make-sure-the-libxml2-module-correctly-set-all.patch+85 -01 reply
5/9package/librtlsdr: fix static linkpackage/librtlsdr/librtlsdr-0001-cmake-make-sure-the-libusb-module-correctly-set-all-.patch package/librtlsdr/librtlsdr-0002-cmake-disable-rtlsdr_shared-library-target-in-BUILD_.patch+149 -01 reply
6/9package/musepack: add sequence number in patch namespackage/musepack/musepack-0001-shared.patch+0 -01 reply
7/9package/musepack: fix static linkpackage/musepack/musepack-0002-cmake-use-the-standard-CMake-flag-to-drive-the-share.patch+43 -01 reply
8/9package/polarssl: fix static linkpackage/polarssl/polarssl-0003-cmake-use-the-standard-CMake-flag-to-drive-the-share.patch package/polarssl/polarssl.mk+39 -21 reply
9/9package/taglib: fix static linkpackage/taglib/taglib-0001-cmake-use-the-standard-CMake-flag-to-drive-the-share.patch+40 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Buildroot] [PATCH v2 0/9] autobuilder: static link CMake packages fixes

Hi all,

Here is a couple of aautobuild fixes concerning CMake-based packages, in configuration in which BR2_PREFER_STATIC_LIB is set.

These fixes gives priority to patching the per-project CMake code in order to keep using the standard CMake flag (BUILD_SHARED_LIBS) instead of using the custom options.

Note that I'll post the patchs to each project.

Cheers,

Samuel Martin (9):
package/cmake: add host-pkgconf as dependency package/yajl: add sequence number in patch names package/yajl: fix static link package/libplist: fix static link package/librtlsdr: fix static link package/musepack: add sequence number in patch names package/musepack: fix static link package/polarssl: fix static link package/taglib: fix static link

 package/cmake/cmake.mk                             |   2 +
 ...1-cmake-let-CMake-drives-the-library-type.patch |  37 ++++++++
 ...sure-the-libxml2-module-correctly-set-all.patch |  48 ++++++++++
 ...sure-the-libusb-module-correctly-set-all-.patch |  45 +++++++++
 ...le-rtlsdr_shared-library-target-in-BUILD_.patch | 104 +++++++++++++++++++++
 ...ack-shared.patch => musepack-0001-shared.patch} |   0
 ...he-standard-CMake-flag-to-drive-the-share.patch |  43 +++++++++
 ...he-standard-CMake-flag-to-drive-the-share.patch |  39 ++++++++
 package/polarssl/polarssl.mk                       |   2 -
 ...he-standard-CMake-flag-to-drive-the-share.patch |  40 ++++++++
 ...4-math-link.patch => yajl-0001-math-link.patch} |   0
 ...le-shared-library-build-when-BUILD_SHARED.patch |  44 +++++++++
 12 files changed, 402 insertions(+), 2 deletions(-)
 create mode 100644 package/libplist/libplist-0001-cmake-let-CMake-drives-the-library-type.patch
 create mode 100644 package/libplist/libplist-0002-cmake-make-sure-the-libxml2-module-correctly-set-all.patch
 create mode 100644 package/librtlsdr/librtlsdr-0001-cmake-make-sure-the-libusb-module-correctly-set-all-.patch
 create mode 100644 package/librtlsdr/librtlsdr-0002-cmake-disable-rtlsdr_shared-library-target-in-BUILD_.patch
 rename package/musepack/{musepack-shared.patch => musepack-0001-shared.patch} (100%)
 create mode 100644 package/musepack/musepack-0002-cmake-use-the-standard-CMake-flag-to-drive-the-share.patch
 create mode 100644 package/polarssl/polarssl-0003-cmake-use-the-standard-CMake-flag-to-drive-the-share.patch
 create mode 100644 package/taglib/taglib-0001-cmake-use-the-standard-CMake-flag-to-drive-the-share.patch
 rename package/yajl/{yajl-2.0.4-math-link.patch => yajl-0001-math-link.patch} (100%)
 create mode 100644 package/yajl/yajl-0002-cmake-disable-shared-library-build-when-BUILD_SHARED.patch

--
2.1.0