Discussion:
[dev] [sbase] Split libutil
Adrian Grigore
2018-10-22 17:18:43 UTC
Permalink
Is there any interest in splitting llibutil from sbase in smaller libraries?
--
Thanks,
Adi
Hiltjo Posthuma
2018-10-22 19:12:43 UTC
Permalink
Post by Adrian Grigore
Is there any interest in splitting llibutil from sbase in smaller libraries?
--
Thanks,
Adi
No, why?
--
Kind regards,
Hiltjo
Adrian Grigore
2018-10-24 13:37:12 UTC
Permalink
I was thinking it maybe has a generic name and could be splitted in
smaller, more specific, libraries?
Post by Hiltjo Posthuma
Post by Adrian Grigore
Is there any interest in splitting llibutil from sbase in smaller libraries?
--
Thanks,
Adi
No, why?
--
Kind regards,
Hiltjo
--
Thanks,
Adi
Nero
2018-10-24 14:27:50 UTC
Permalink
Hi,

having external programs link against libutil.a is a PITA because musl/glibc
also have a libutil.a in the library directory. IMHO the name could be changed
to something less general.
Post by Hiltjo Posthuma
Post by Adrian Grigore
Is there any interest in splitting llibutil from sbase in smaller libraries?
No, why?
--
Nero
Quentin Rameau
2018-10-24 14:56:44 UTC
Permalink
Post by Nero
having external programs link against libutil.a is a PITA because musl/glibc
also have a libutil.a in the library directory. IMHO the name could be changed
to something less general.
If you have musl/glibc libutil.a in sbase directory, you've got a real
problem indeed, but unrelated to this discussion.

sbase Makefile tells c99 to link against libutil.a, not to link against
util library in the library search path so no, there's no “PITA”
because the issue you're suggesting can't happen.

Loading...