Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
67ad2d46
Commit
67ad2d46
authored
May 24, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-export-dynamic is no sense for libs, use -export-symbol (or nothing)
parent
54dc1499
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
21 deletions
+5
-21
configure.ac
configure.ac
+0
-2
modules/common.am
modules/common.am
+1
-8
src/Makefile.am
src/Makefile.am
+4
-11
No files found.
configure.ac
View file @
67ad2d46
...
...
@@ -1080,8 +1080,6 @@ if test "${ac_cv_c_visibility_hidden}" != "no"; then
fi
fi
AM_CONDITIONAL(HAVE_COMPILER_EXPORT, [test "$SYS" = "mingw32" -o "${ac_cv_c_visibility_hidden}" != "no"])
dnl Check for -fvisibility-inlines-hidden (breaks x86_64 linkers)
dnl AC_LANG_PUSH(C++)
dnl AC_CACHE_CHECK([if \$CXX accepts -fvisibility-inlines-hidden],
...
...
modules/common.am
View file @
67ad2d46
...
...
@@ -12,7 +12,6 @@ EXTRA_DIST = Modules.am
BUILT_SOURCES =
CLEANFILES = $(BUILT_SOURCES)
if HAVE_PLUGINS
LTLIBVLCCORE = $(top_builddir)/src/libvlccore.la
AM_CFLAGS = `$(VLC_CONFIG) --cflags plugin $@`
...
...
@@ -20,17 +19,11 @@ AM_CXXFLAGS = `$(VLC_CONFIG) --cxxflags plugin $@`
AM_OBJCFLAGS = `$(VLC_CONFIG) --objcflags plugin $@`
AM_LDFLAGS = -rpath '$(libvlcdir)' \
-avoid-version -module -no-undefined \
-export-symbol-regex ^vlc_entry \
-shrext $(LIBEXT) \
`$(VLC_CONFIG) --ldflags plugin $@`
AM_LIBADD = `$(VLC_CONFIG) -libs plugin $@` $(LTLIBVLCCORE)
if HAVE_COMPILER_EXPORT
AM_LDFLAGS += -export-dynamic
else
AM_LDFLAGS += -export-symbol-regex ^vlc_entry
endif
endif
include $(srcdir)/Modules.am
if MAINTAINER_MODE
...
...
src/Makefile.am
View file @
67ad2d46
...
...
@@ -178,12 +178,8 @@ libvlccore_la_CFLAGS = `$(VLC_CONFIG) --cflags libvlc` \
libvlccore_la_CXXFLAGS
=
`
$(VLC_CONFIG)
--cxxflags
libvlc
`
libvlccore_la_OBJCFLAGS
=
`
$(VLC_CONFIG)
--objcflags
libvlc
`
libvlccore_la_LDFLAGS
=
`
$(VLC_CONFIG)
--ldflags
libvlc
`
$(AM_LDFLAGS)
\
-export-symbols
$(srcdir)
/libvlccore.sym
\
-version-info
0:0:0
if
HAVE_COMPILER_EXPORT
libvlccore_la_LDFLAGS
+=
-export-dynamic
else
libvlccore_la_LDFLAGS
+=
-export-symbols
$(srcdir)
/libvlccore.sym
endif
libvlccore_la_LIBADD
=
`
$(VLC_CONFIG)
-libs
libvlc
`
$(AM_LIBADD)
$(LTLIBINTL)
libvlccore_la_DEPENDENCIES
=
libvlccore.sym
...
...
@@ -191,12 +187,9 @@ libvlc_la_SOURCES = $(SOURCES_libvlc_control)
libvlc_la_LIBADD
=
libvlccore.la
libvlc_la_CFLAGS
=
`
$(VLC_CONFIG)
--cflags
libvlc
`
\
-DMODULE_STRING
=
\"
control
\"
libvlc_la_LDFLAGS
=
$(AM_LDFLAGS)
-version-info
2:0:0
if
HAVE_COMPILER_EXPORT
libvlc_la_LDFLAGS
+=
-export-dynamic
else
libvlc_la_LDFLAGS
+=
-export-symbols-regex
'^_?(libvlc|mediacontrol)_.*'
endif
libvlc_la_LDFLAGS
=
$(AM_LDFLAGS)
\
-version-info
2:0:0
\
-export-symbols-regex
'^_?(libvlc|mediacontrol)_.*'
EXTRA_libvlccore_la_SOURCES
=
\
$(SOURCES_libvlc_beos)
\
...
...
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