Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah you just...link to static libraries. Which have usually already been built and installed alongside the shared libraries.

Also why would you be using autotools in 2022? CMake has been the de facto standard for about a decade now.



Came here to say this, anyone still using autohell in 2022 either is a stubborn grey beard or is seriously masochistic. Building static or shared libs/programs with CMake is treated simply as an option when calling the linker. I personally don't know anyone sane who wants to deal with the mental gymnastics needed by libtool. And don't get me started on the stupid permissions games played by 'make distcheck' where a simple git --archive would do just fine.


Using CMake is like trying to do one-handed pushups to setup your build. Use https://mesonbuild.com/ and make your life comfortable as a couch potato.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: