On 12 Sep 2013, at 22:16, Stephen Leake <[email protected]> wrote:
> Simon Wright <[email protected]> writes: > >> The reason why the dynamic libraries build with ".so" in the name is in >> opentoken_lib.gpr: >> >> for Library_Version use "libopentoken.so." & Version; > > Ok. I didn't realize that the only problem was the name. > >> On Darwin that should be >> >> for Library_Version use "libopentoken.dylib." & Version; > > Ok. We can easily add another External variable for this. I've attached a makefile snippet that sets OS appropriately (and includes some explanation). >> and it *may* be that AdaCore have a fix for this problem, but I can't >> see it in GPRBUILD GPL 2013. Perhaps there should be a bug report. > > If you mean they would pick a good name by default, just comment out > that line and see what happens. No, I can't see any way. I've raised a PR and CC'd you (Stephe), but no reply yet and I'm not holding my breath. >> On Mac OS X it's important to build shared libraries with gprbuild, >> not gnatmake, because only gprbuild knows how to do it properly. Is >> there a reason you use gnatmake for this? > > No; feel free to change it. I need to revisit MTN :-)
Makefile
Description: Binary data
_______________________________________________ Emacs-ada-mode mailing list [email protected] http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org
