Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
18925e8f
Commit
18925e8f
authored
Aug 29, 2011
by
Rafaël Carré
Browse files
Build plugins statically if --disable-shared is used
Only allow static plugins if vlc binary is not built
parent
543ee6a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
18925e8f
...
...
@@ -461,10 +461,12 @@ m4_defun([AC_DEPLIBS_CHECK_METHOD],[])
lt_cv_deplibs_check_method=pass_all
AS_IF([test "${enable_shared}" = "no"], [
AS_IF([test "${enable_shared}" =
"no" -a "${enable_vlc}" !=
"no"], [
AC_MSG_ERROR([VLC is based on plugins. Shared libraries cannot be disabled.])
])
AM_CONDITIONAL(HAVE_SHARED_PLUGINS, [test "${enable_shared}" != "no"])
dnl
dnl Gettext stuff
dnl
...
...
modules/common.am
View file @
18925e8f
...
...
@@ -19,8 +19,10 @@ MODULE_NAME = `p="$@"; p="$${p\#\#*/}"; p="$${p\#lib}"; echo "$${p%_plugin*}"`
AM_CPPFLAGS = \
-DMODULE_NAME=$(MODULE_NAME) \
-DMODULE_NAME_IS_$(MODULE_NAME) \
-DMODULE_STRING=\"$(MODULE_NAME)\" \
-D__PLUGIN__
-DMODULE_STRING=\"$(MODULE_NAME)\"
if HAVE_SHARED_PLUGINS
AM_CPPFLAGS += -D__PLUGIN__
endif
AM_CFLAGS =
AM_CXXFLAGS =
AM_OBJCFLAGS =
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment