From: John R. <jr...@ce...> - 2013-07-01 17:08:37
|
On Jul 1, 2013, at 9:48 AM, Felix Krause <fl...@is...> wrote: > First of all, many thanks to John Ralls for his support with my previous issue. > > I managed to set up everything for building an app bundle for GPS (the GNAT Programming Studio [1], in case you're interested). One problem I have is that I compile with GNAT (GNU Ada compiler), which results in my binary being linked to the library /usr/local/gnat/lib/libgcc_s.1.dylib. As GNAT is not usually available on OSX, I have to include this library in my bundle. I tried this in my gps.bundle file: > > <binary dest="${bundle}/Contents/Resources/lib/libgcc_s.1.dylib"> > /usr/local/gnat/lib/libgcc_s.1.dylib > </binary> > > This does copy the library. However, when executing gtk-mac-bundler, I get this message: > > Warning, library not available in any prefix: /usr/local/gnat/lib/libgcc_s.1.dylib > > otool -L afterwards tells me that the reference to the library has not properly changed to a relative path. How can I tell gtk-mac-bundler to do that? > That's because you haven't told gtk-mac-bundler to look in /usr/local/gnat for dependencies. You can either add /usr/local/gnat to the prefixes list in your bundle file or build GNAT in your main prefix. Since GNAT Programming Studio sounds like an IDE, I'd think you'd want to do the latter, and include all of GNAT's binaries in the bundle. Regards, John Ralls |