mohamad.ge...@polymtl.ca writes:

> On 13-10-18 10:05 AM, Stefan Hajnoczi wrote:
<snip>
>> Please switch to pkg-config instead of hardcoding particular flags.  I
>> checked that Fedora and Debian ship the pkg-config file.
> Unfortunately, some missing files in the Ubuntu package make it 
> impossible to use pkg-config for versions of Ubuntu older than 13.10 
> (like Ubuntu 12.04 which is a LTS). Would you be okay with these flags?

Hmm this is tricky because pkg-config really should be the portable way
to get at these flags. Perhaps we could just fall back to sensible
defaults if pkg-config fails?

On my 12.04 system (with the lttng PPA) it works fine:

$>pkg-config --libs lttng-ust
-llttng-ust -ldl  
$>pkg-config --cflags lttng-ust
-I/usr/include/x86_64-linux-gnu  

Is there a bug raised with the Ubuntu upstream to fix their stable LTTNG 
package?

-- 
Alex Bennée


Reply via email to