On Thu, Apr 30, 2020 at 3:56 AM Ces VLC <[email protected]> wrote: > > Today I got lots of errors when building one of my projects, about "-static" > not being supported by libtool... then I realized that the reason is that > such project was developed with the MacOS libtool in mind, and by installing > GNU's libtool (because of it being required by CUnit), the GNU version takes > higher precedence over the MacOS version, and then it breaks the build for my > project. > > So... can you give some advice on how to manage the coexistence of both > libtools?
When you build libtool from sources, use the '--program-prefix=g' option to avoid the name collision. The prefix is also used for some programs, like sed and awk, because of all the forks floating around. Jeff
