naxfilm.blogg.se

Scons arguments
Scons arguments






And yes, LIBDIR is a custom variable name as well.Ĭommon pitfalls Partial rebuilds in src_install()Īs mentioned above, SCons often requires passing the same arguments both to src_compile() and src_install() invocation. As SCons doesn't use that, libdir has to passed manually using get_libdir() function from multilib eclass. The default libdir is passed to autotools by econf function.Otherwise package will partially rebuild itself during src_install() Sometimes install destinations have to passed to the src_compile() invocation as well so that package could hardcode appropriate paths.That's why we usually don't use src_configure() and have to copy most of the args from src_compile() to src_install() - otherwise SCons will re-configure and rebuild the package

scons arguments

  • SCons has a tendency to reconfigure itself on each call.
  • Or the package may require installation if the author didn't provide any kind of installation rules

    scons arguments

    Inherit multilib scons-utils toolchain-funcsĮscons FOO=1 LIBDIR=/usr/$(get_libdir) INSTALL_ROOT="$" or escons / may need to be used. CODE An example ebuild using SCons EAPI=4








    Scons arguments