vp-build/common/build-style
Đoàn Trần Công Danh 0d75e72b8b build-style/cmake: pass LIBS as CMAKE_*_STANDARD_LIBRARIES
Normally, we can add them into configure_args directly.
However, if we need to link with 2 or more libaries (e.g. -latomic
and -lexecinfo on armv6-musl), we have noway to do it properly:
- configure_args will be splited on whitespace
- cmake denies to recognise CMAKE_*_STANDARD_LIBRARIES as a list,
  hence denies to split on semicolon (";")

Let's pass LIBS as CMAKE_*_STANDARD_LIBRARIES instead.
2022-02-23 21:28:37 +07:00
..
cargo.sh
cmake.sh
configure.sh
fetch.sh
gem.sh
gemspec.sh
gnu-configure.sh
gnu-makefile.sh
go.sh
haskell-stack.sh
meson.sh
meta.sh
perl-module.sh
perl-ModuleBuild.sh
python-module.sh
python2-module.sh
python3-module.sh
python3-pep517.sh
qmake.sh
R-cran.sh
raku-dist.sh
README
ruby-module.sh
scons.sh
sip-build.sh
slashpackage.sh
texmf.sh
void-cross.sh
waf.sh
waf3.sh
zig-build.sh

BUILD STYLES
============

These shell snippets provide support for multiple build systems, i.e GNU configure,
CMake, etc. A build style file must provide at least the following functions:

	- do_configure
	- do_build
	- do_install

If a source package defines its own do_xxx() function, the function defined in
the build style file is simply ignored.