Closed jiachenwang closed 7 years ago
This must be a recent breakage as it was working fine on earlier versions of OS X. configure.ac will need to be updated to check if it needs to link in libstdc++.
This must've been due to the out of sync generated files that were in the repo. I just tried building the code from head on my El Capitan system and it built clean. Please try again and open a new issue if you still have problems.
In libconfig-1.5/build/share/config.site:
Pass ./configure:
When "make":
Maybe this is caused by there is no "-stdlib=libstdc++" in this line.
For now, I just add this command to be:
And I get the dylib and use it in the project.
I also looked in to Makefile and Makefile.am, but did not find to problem.
Could you please tell me how to compile libconfig with libstdc++ on mac in the right way?