diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | lilv/lilvmm.hpp | 5 |
2 files changed, 5 insertions, 1 deletions
@@ -2,6 +2,7 @@ lilv (UNRELEASED) unstable; urgency=low * Use path variables in pkgconfig files * Install man page to DATADIR (e.g. PREFIX/share/man, not PREFIX/man) + * Make Lilv::uri_to_path static inline (fix linking errors) -- David Robillard <d@drobilla.net> (UNRELEASED) diff --git a/lilv/lilvmm.hpp b/lilv/lilvmm.hpp index 71f1a24..628941c 100644 --- a/lilv/lilvmm.hpp +++ b/lilv/lilvmm.hpp @@ -21,7 +21,10 @@ namespace Lilv { -const char* uri_to_path(const char* uri) { return lilv_uri_to_path(uri); } +static inline const char* +uri_to_path(const char* uri) { + return lilv_uri_to_path(uri); +} #define LILV_WRAP0(RT, prefix, name) \ inline RT name() { return lilv_ ## prefix ## _ ## name (me); } |