[Buildroot] [PATCH 04/10] pkg-cmake.mk: build shared library when !BR2_PREFER_STATIC_LIB
Peter Korsgaard
jacmet at uclibc.org
Sun Jan 19 20:28:13 UTC 2014
>>>>> "Samuel" == Samuel Martin <s.martin49 at gmail.com> writes:
> Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
> ---
> package/pkg-cmake.mk | 1 +
> 1 file changed, 1 insertion(+)
> diff --git a/package/pkg-cmake.mk b/package/pkg-cmake.mk
> index 463cd63..aedd1fc 100644
> --- a/package/pkg-cmake.mk
> +++ b/package/pkg-cmake.mk
> @@ -64,6 +64,7 @@ define $(2)_CONFIGURE_CMDS
> $$($$(PKG)_CONF_ENV) $(HOST_DIR)/usr/bin/cmake $$($$(PKG)_SRCDIR) \
> -DCMAKE_TOOLCHAIN_FILE="$$(HOST_DIR)/usr/share/buildroot/toolchainfile.cmake" \
> -DCMAKE_INSTALL_PREFIX="/usr" \
> + -DBUILD_SHARED_LIBS=$(if $(BR2_PREFER_STATIC_LIB),OFF,ON) \
I don't know much about cmake, but what exact problem does this fix and
with how many packages did you test this?
> $$($$(PKG)_CONF_OPT) \
> )
> endef
> --
> 1.8.5.3
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list