glibtool: init

glibtool is simply libtool with "g" prefixed, because this is the
convention adopted in MacOS for distinguishing between GNU versions of
binaries/libraries and their equivalents shipped by Apple. Much software
for MacOS assumes that libtool can be found at `glibtool` so this is a
convenience wrapper for this case.
This commit is contained in:
Jesse Y Lin 2024-01-07 14:59:34 -06:00 committed by Weijia Wang
parent 345c263f2f
commit c7b2d3b1a7

View File

@ -0,0 +1,7 @@
{ libtool }:
libtool.overrideAttrs {
pname = "glibtool";
meta.mainProgram = "glibtool";
configureFlags = [ "--program-prefix=g" ];
}