comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Matthews <ignore@ramatthews.free-online.co.uk>
Subject: Problem referencing library file via project file
Date: Sat, 30 Apr 2011 09:15:34 +0100
Date: 2011-04-30T09:15:34+01:00	[thread overview]
Message-ID: <iuydnbpLUswxWSbQnZ2dnUVZ8tydnZ2d@brightview.co.uk> (raw)

I am trying to link the webkit library file with my program.
One way that works is to use:

pragma Linker_Options ("-lwebkit-1.0");

in my source file.

However I would like to specify this in the program's
project file. I have tried:

package Linker is
   for Default_Switches ("ada") use ("-lwebkit-1.0");
end Linker;

but this seems to be ignored - I just get undefined
reference messages from gnatlink. Please help!

Robert Matthews



             reply	other threads:[~2011-04-30  8:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-30  8:15 Robert Matthews [this message]
2011-04-30  8:34 ` Problem referencing library file via project file Dmitry A. Kazakov
2011-04-30  8:57   ` Robert Matthews
2011-04-30 21:36   ` Alex R. Mosteo
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox