GithubHelp home page GithubHelp logo

Comments (5)

stephanlachnit avatar stephanlachnit commented on July 18, 2024 3

Why distro_install option disables some amount of customization?

It's actually very simple: it is mainly for distributions to build a shared library. If every distro starys using random build configs, there is no point in having a shared library since it isn't reliable.

As far as I got your context (somehiny embedded), I would just patch this downstream, if you really need it.

from inih.

eli-schwartz avatar eli-schwartz commented on July 18, 2024 3

A bit more details, why do I am asking, we are using Buildroot and there are standard package https://github.com/buildroot/buildroot/blob/master/package/inih/inih.mk they use distro_install be default, we want customize max_line_length and there are no good way to do it with distro_install option setuped. So maybe we can change (contribute to BR) their default makefile, but I want to understand more about inih meason.build idea.

But even then, the question becomes: why would buildroot decide to distribute pre-built copies of inih which use those customizations?

Customizations require recompiling with preferred options. So it is best done when you include inih in your project as a vendored dependency, for example as a Meson subproject via meson wrap install inih

from inih.

benhoyt avatar benhoyt commented on July 18, 2024 2

I actually know very little (read: 0) about meson, so you may have to do some reading at https://mesonbuild.com/, or the effective meson.build maintainer for inih, @stephanlachnit, may be able to point you in the right direction too.

from inih.

nikitos1550 avatar nikitos1550 commented on July 18, 2024

I think I need explanation of distro_install option, I don't understand it's idea.

A bit more details, why do I am asking, we are using Buildroot and there are standard package https://github.com/buildroot/buildroot/blob/master/package/inih/inih.mk they use distro_install be default, we want customize max_line_length and there are no good way to do it with distro_install option setuped. So maybe we can change (contribute to BR) their default makefile, but I want to understand more about inih meason.build idea.

from inih.

benhoyt avatar benhoyt commented on July 18, 2024

Thanks @stephanlachnit and @eli-schwartz. Going to close this issue for now.

from inih.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.