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
008e13fc
Commit
008e13fc
authored
Feb 21, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't rebuild static libvlc when not needed
Yet to find a solution for the same problem with shared libvlc
parent
03cd8e02
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
src/Makefile.am
src/Makefile.am
+5
-3
No files found.
src/Makefile.am
View file @
008e13fc
...
...
@@ -119,8 +119,10 @@ misc/version.c: FORCE
# shared object, which will make builtins fairly redumdant. Until then, we
# need this workaround.
builtins
:
if
BUILD_SHARED
do_builtins
=
builtins
builtins
:
@
if
test
"
$(pic)
"
=
"pic"
;
then
ext
=
"_pic.a"
;
else
ext
=
".a"
;
fi
;
\
for
c
in
`
$(VLC_CONFIG)
--libs
builtin
`
;
do
\
case
$$
c
in
\
...
...
@@ -129,9 +131,9 @@ if BUILD_SHARED
done
|
\
sed
-e
's/^\(.*\)\/\([^\/]*\)\.a$$/cd \1 \&\&
$(MAKE)
\2/g'
|
\
while
read
cmd
;
do
echo
$$
cmd
$$
ext
;
eval
"(
$$
cmd
$$
ext)"
||
exit
$$
?
;
done
endif
.PHONY
:
builtins
endif
###############################################################################
# Building libvlc
...
...
@@ -191,7 +193,7 @@ OBJECTS_libvlc_so = $(libvlc_pic_a_OBJECTS)
endif
endif
libvlc$(LIBEXT)
:
$(OBJECTS_libvlc_so)
builtins
libvlc$(LIBEXT)
:
$(OBJECTS_libvlc_so)
$(do_builtins)
@
ldfl
=
"
`
$(VLC_CONFIG)
--libs
plugin vlc
builtin
$(pic)
`
$(INCLUDED_LIBINTL)
"
;
\
case
`
$(VLC_CONFIG)
--linkage
vlc
builtin
`
in
\
c++
)
ld
=
"
$(CXXLINK)
"
;;
\
...
...
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