[vlc-commits] libvlc: Do not include revision.c file
Marvin Scholz
git at videolan.org
Thu Jul 4 16:07:27 CEST 2019
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Tue Jul 2 13:33:28 2019 +0200| [00b391b189c6057c0b7536a851e1b8a4a0dd9e84] | committer: Steve Lhomme
libvlc: Do not include revision.c file
Instead of including the revision.c file, add it to the sources
of the library.
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=00b391b189c6057c0b7536a851e1b8a4a0dd9e84
---
lib/Makefile.am | 3 ++-
lib/core.c | 1 -
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 90ac01c7a8..f3fc2321cc 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -51,7 +51,8 @@ libvlc_la_SOURCES = \
media_list_path.h \
media_list_player.c \
media_discoverer.c \
- picture.c
+ picture.c \
+ ../src/revision.c
EXTRA_DIST = libvlc.pc.in libvlc.sym ../include/vlc/libvlc_version.h.in
libvlc_la_LIBADD = ../src/libvlccore.la ../compat/libcompat.la $(LIBM)
diff --git a/lib/core.c b/lib/core.c
index 06fd52fbfa..52549a139d 100644
--- a/lib/core.c
+++ b/lib/core.c
@@ -34,7 +34,6 @@
#include <limits.h>
#include <assert.h>
-#include "../src/revision.c"
libvlc_instance_t * libvlc_new( int argc, const char *const *argv )
{
More information about the vlc-commits
mailing list