Juniper / libxo

The libxo library allows an application to generate text, XML, JSON, and HTML output using a common set of function calls. The application decides at run time which output style should be produced.
http://juniper.github.io/libxo/libxo-manual.html
BSD 2-Clause "Simplified" License
325 stars 48 forks source link

Build broken in many ways for non-default prefix #52

Closed davidchisnall closed 8 years ago

davidchisnall commented 8 years ago

When configuring with a non-default prefix, the package-config file is not correctly set up (it retains a load of ${} and @...@ values, and the rpath for the xo binary is set so that it can't find the shared library (it looks in /usr/local/lib).

philshafer commented 8 years ago

The ${var} is valid pkg-config syntax, but the @var@ is not. I had LIBXO_var in places instead of XO_var. These are now fixed; also added -I and -L where missing. Fix is in 'develop' and will be in the next release.

Thanks, Phil