summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--lilv/lilvmm.hpp5
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 124a311..eb92f77 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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); }