From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Exporting linker options from library GPR Date: Tue, 13 Feb 2018 20:37:11 +0000 Organization: A noiseless patient Spider Message-ID: References: <981893565.540207668.848900.laguest-archeia.com@nntp.aioe.org> <101626dd-bbd5-4e10-a383-3c5e29d4bc88@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: reader02.eternal-september.org; posting-host="0b852e40190820e0f08a03d313e97d15"; logging-data="7690"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ax7VIDqpqXlAqd0D2bFCmki+HqhXbgBw=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (darwin) Cancel-Lock: sha1:5QvNmJnQ5vmiPSTByJgVgH8zCVA= sha1:s6WuyFsUZMNd2/tcZetF3Wa02v0= Xref: reader02.eternal-september.org comp.lang.ada:50429 Date: 2018-02-13T20:37:11+00:00 List-Id: Lucretia writes: > On Tuesday, 13 February 2018 09:43:49 UTC, Luke A. Guest wrote: > >> Just seen this. I have actually built SDLAda on Mac OS X, but I didn’t push >> the changes required to get the thing built with the SDL2 framework. > > Just checked, I did it on the command line as a hack to get it > compiling on Mac. > > It seems that GPR's cannot expand `sdl2-config --cflags` when passed > via the GPR Default_Switches mechanism, if there's a way, I could > clean up the makefile a bit more and shift more to the GPR. The pre-built framework doesn't come with sdl2-config.