I would like to embed the lib tar library inside my program, so if I run it from another computer that doesn’t have libtar installed it runs correctly. Also this eliminates version issues.
I still know little about C. Is it possible? What are the best practices?
Thank you very much.
You can have a static library and link your program with that library. That will embed the static library in your program so you won’t need to have separately.