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 X-Received: by 10.36.84.136 with SMTP id t130mr5785125ita.18.1518823615072; Fri, 16 Feb 2018 15:26:55 -0800 (PST) X-Received: by 10.157.32.3 with SMTP id n3mr283935ota.12.1518823614028; Fri, 16 Feb 2018 15:26:54 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!w142no575997ita.0!news-out.google.com!m16ni1897itm.0!nntp.google.com!w142no575994ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 16 Feb 2018 15:26:53 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=76.218.37.33; posting-account=W2gdXQoAAADxIuhBWhPFjUps3wUp4RhQ NNTP-Posting-Host: 76.218.37.33 References: <981893565.540207668.848900.laguest-archeia.com@nntp.aioe.org> <101626dd-bbd5-4e10-a383-3c5e29d4bc88@googlegroups.com> <1663297707.540284845.822306.laguest-archeia.com@nntp.aioe.org> <301425720.540294866.314644.laguest-archeia.com@nntp.aioe.org> <836a0b01-419e-4b53-a15c-75bc7d41b462@googlegroups.com> <39a68743-624e-4dd9-8691-8e884f6b74d4@googlegroups.com> <411643190.540429197.080395.laguest-archeia.com@nntp.aioe.org> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4a06e363-24f7-43ec-a883-245933896b77@googlegroups.com> Subject: Re: Exporting linker options from library GPR From: Stephen Leake Injection-Date: Fri, 16 Feb 2018 23:26:55 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2448 X-Received-Body-CRC: 2951367172 Xref: reader02.eternal-september.org comp.lang.ada:50474 Date: 2018-02-16T15:26:53-08:00 List-Id: You might be able to get gprbuild to run sdl2-config if you create your own= xml file. See gnat/share/gprconfig/*.xml. Those files tell gprbuild how to= run tools. I haven't played with that in a long time, and I'm sure it's ch= anged since then (it changed often when I was playing with it), so I can't = help more than this. You can run sdl2-config in the makefile, put the result in an environment v= ariable, and read that environment variable in the gpr (maybe that's what y= ou mean by "in the makefile" above). -- Stephe