[vlc-commits] lib: work around automake subdirectory limitation (fixes #9367)
Rémi Denis-Courmont
git at videolan.org
Mon Sep 16 17:55:18 CEST 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Sep 16 00:01:20 2013 +0300| [527714d44da318c63bf039b13d6840d90cbbe4a7] | committer: Rémi Denis-Courmont
lib: work around automake subdirectory limitation (fixes #9367)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=527714d44da318c63bf039b13d6840d90cbbe4a7
---
lib/Makefile.am | 3 +--
lib/core.c | 2 ++
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/Makefile.am b/lib/Makefile.am
index b41fdb7..adbe341 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -51,8 +51,7 @@ libvlc_la_SOURCES = \
media_list_path.h \
media_list_player.c \
media_library.c \
- media_discoverer.c \
- ../src/revision.c
+ media_discoverer.c
EXTRA_DIST = libvlc.pc.in libvlc.sym ../include/vlc/libvlc_version.h.in
libvlc_la_LIBADD = \
diff --git a/lib/core.c b/lib/core.c
index 486829d..f842b57 100644
--- a/lib/core.c
+++ b/lib/core.c
@@ -36,6 +36,8 @@
#include <limits.h>
#include <assert.h>
+#include "../src/revision.c"
+
static const char nomemstr[] = "Insufficient memory";
libvlc_instance_t * libvlc_new( int argc, const char *const *argv )
More information about the vlc-commits
mailing list