Comments (5)
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.
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.
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.
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.
Thanks @stephanlachnit and @eli-schwartz. Going to close this issue for now.
from inih.
Related Issues (20)
- pkg-config files have version `undefined` HOT 3
- possible NULL pointer dereference HOT 2
- unittest.sh doesn' report that tests succeeded? HOT 1
- Emit ini file HOT 1
- Error attempting to link against libinih HOT 3
- Expected key/section missing error HOT 3
- Do you have plan to support write feature ? HOT 1
- Do you plan support buid with cmake HOT 3
- how to get all the sections, key-value pairs HOT 3
- Seems to not discard the rest of a long line? HOT 4
- Duplicate keys cause a trailing \n to be appended? HOT 1
- inih v57 fails to build using GCC 4.8.5 on CentOS 7 HOT 3
- Add support for UTF-16 HOT 5
- Add Cflags.private to support static linking on Windows
- strncpy0 should be in ini_ namespace HOT 8
- Undefined symbol when linking with LLD HOT 3
- undefined reference to `INIReader
- undefined reference to 'ini_parse'
- When loading the ini file,, all the spaces in the value will be deleted HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inih.