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
14815d2c
Commit
14815d2c
authored
Jun 04, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove PIC stuff too
parent
5b369300
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
27 deletions
+8
-27
vlc-config.in.in
vlc-config.in.in
+8
-27
No files found.
vlc-config.in.in
View file @
14815d2c
...
...
@@ -200,7 +200,7 @@ while test $# -gt 0; do
cppflags
=
"
${
cppflags
}
-D__VLC__ -D__PLUGIN__"
;;
pic
)
echo
_pic
=
yes
echo
"Warning: vlc-config does not use
\"
pic
\"
anymore."
>
&2
;;
builtin
)
echo_builtin
=
yes
...
...
@@ -210,12 +210,7 @@ while test $# -gt 0; do
;;
external
)
echo_external
=
yes
if
test
"x
${
echo_pic
}
"
=
"xno"
then
ldflags
=
"
${
ldflags
}
-lvlc"
else
ldflags
=
"
${
ldflags
}
-lvlc_pic"
fi
;;
*
)
module
=
"
$1
"
...
...
@@ -270,11 +265,7 @@ if test "${echo_target}" = yes; then
for
module
in
`
echo
"
${
builtins
}
"
`
;
do
register_targets
"
${
module
}
"
done
if
test
"
${
echo_pic
}
"
=
yes
;
then
for
target
in
`
echo
"
${
list
}
"
`
;
do
printf
"
${
top_builddir
}
modules/
${
target
}
_pic.a "
;
done
else
for
target
in
`
echo
"
${
list
}
"
`
;
do
printf
"
${
top_builddir
}
modules/
${
target
}
.a "
;
done
fi
printf
'\n'
fi
exit
0
...
...
@@ -315,7 +306,7 @@ fi
# There are 4 possibilities
# - We are a plugin or a builtin
# - We are building from the outside (external):
# - Give full libvlc linkflags + -lvlc
(_pic)
(in libdir)
# - Give full libvlc linkflags + -lvlc (in libdir)
# - Link with builtins in libdir
# - We are building something from the inside (builtin)
# - Link with builtins in place
...
...
@@ -327,22 +318,12 @@ if test "${echo_libs}" = yes; then
register_targets
"
${
module
}
"
register_flags
"
${
module
}
"
done
if
test
"
${
echo_pic
}
"
=
yes
;
then
for
target
in
`
echo
"
${
list
}
"
`
;
do
printf
"
${
top_builddir
}
modules/
${
target
}
_pic.a "
;
done
else
for
target
in
`
echo
"
${
list
}
"
`
;
do
printf
"
${
top_builddir
}
modules/
${
target
}
.a "
;
done
fi
fi
if
test
"
${
echo_external
}
"
=
yes
;
then
if
test
"
${
echo_pic
}
"
=
yes
;
then
for
module
in
`
echo
"
${
builtins
}
"
`
;
do
ldflags
=
"
${
ldflags
}
@libdir@/vlc/lib
${
module
}
_pic.a"
done
else
for
module
in
`
echo
"
${
builtins
}
"
`
;
do
ldflags
=
"
${
ldflags
}
@libdir@/vlc/lib
${
module
}
.a"
done
fi
for
module
in
`
echo
"
${
builtins
}
"
`
;
do
register_flags
"
${
module
}
"
done
...
...
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