mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-04 09:11:33 +02:00
buildsystem: -sMAIN_MODULE for compiling executables
This commit is contained in:
parent
30503ba421
commit
a40c987a54
@ -19,6 +19,9 @@ AM_CFLAGS = $(CFLAGS_vlc)
|
||||
if HAVE_DBUS
|
||||
AM_CPPFLAGS += -DHAVE_DBUS
|
||||
endif
|
||||
if HAVE_EMSCRIPTEN
|
||||
AM_CFLAGS += -sMAIN_MODULE=1
|
||||
endif
|
||||
|
||||
#
|
||||
# Main VLC executable
|
||||
|
@ -108,6 +108,11 @@ AM_CPPFLAGS = \
|
||||
-DSRCDIR=\"$(srcdir)\" \
|
||||
-DTOP_BUILDDIR=\"$(abs_top_builddir)\" \
|
||||
-DTOP_SRCDIR=\"$(abs_top_srcdir)\"
|
||||
|
||||
if HAVE_EMSCRIPTEN
|
||||
AM_CFLAGS = -sMAIN_MODULE=1
|
||||
endif
|
||||
|
||||
AM_LDFLAGS = -no-install $(LDFLAGS_vlc)
|
||||
LIBVLCCORE = -L../src/ -lvlccore
|
||||
LIBVLC = -L../lib -lvlc
|
||||
|
Loading…
Reference in New Issue
Block a user