lib: work around automake subdirectory limitation (fixes #9367)
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 15 Sep 2013 21:01:20 +0000 (00:01 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 16 Sep 2013 15:54:36 +0000 (18:54 +0300)
lib/Makefile.am
lib/core.c

index b41fdb7..adbe341 100644 (file)
@@ -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 = \
index 486829d..f842b57 100644 (file)
@@ -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 )