Changeset 14815d2cc5501b7417a34b96957c726e253bdeb2
- Timestamp:
- 06/04/06 19:35:56
(2 years ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1149442556 +0000
- git-parent:
[5b369300e5f7093ac99f2f626533e7f9bc9b66fb]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1149442556 +0000
- Message:
Remove PIC stuff too
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rca4e3e3 |
r14815d2 |
|
| 201 | 201 | ;; |
|---|
| 202 | 202 | pic) |
|---|
| 203 | | echo_pic=yes |
|---|
| | 203 | echo "Warning: vlc-config does not use \"pic\" anymore." >&2 |
|---|
| 204 | 204 | ;; |
|---|
| 205 | 205 | builtin) |
|---|
| … | … | |
| 211 | 211 | external) |
|---|
| 212 | 212 | echo_external=yes |
|---|
| 213 | | if test "x${echo_pic}" = "xno" |
|---|
| 214 | | then |
|---|
| 215 | | ldflags="${ldflags} -lvlc" |
|---|
| 216 | | else |
|---|
| 217 | | ldflags="${ldflags} -lvlc_pic" |
|---|
| 218 | | fi |
|---|
| | 213 | ldflags="${ldflags} -lvlc" |
|---|
| 219 | 214 | ;; |
|---|
| 220 | 215 | *) |
|---|
| … | … | |
| 271 | 266 | register_targets "${module}" |
|---|
| 272 | 267 | done |
|---|
| 273 | | if test "${echo_pic}" = yes; then |
|---|
| 274 | | for target in `echo "${list}"`; do printf "${top_builddir}modules/${target}_pic.a "; done |
|---|
| 275 | | else |
|---|
| 276 | | for target in `echo "${list}"`; do printf "${top_builddir}modules/${target}.a "; done |
|---|
| 277 | | fi |
|---|
| | 268 | for target in `echo "${list}"`; do printf "${top_builddir}modules/${target}.a "; done |
|---|
| 278 | 269 | printf '\n' |
|---|
| 279 | 270 | fi |
|---|
| … | … | |
| 316 | 307 | # - We are a plugin or a builtin |
|---|
| 317 | 308 | # - We are building from the outside (external): |
|---|
| 318 | | # - Give full libvlc linkflags + -lvlc(_pic) (in libdir) |
|---|
| | 309 | # - Give full libvlc linkflags + -lvlc (in libdir) |
|---|
| 319 | 310 | # - Link with builtins in libdir |
|---|
| 320 | 311 | # - We are building something from the inside (builtin) |
|---|
| … | … | |
| 328 | 319 | register_flags "${module}" |
|---|
| 329 | 320 | done |
|---|
| 330 | | if test "${echo_pic}" = yes; then |
|---|
| 331 | | for target in `echo "${list}"`; do printf "${top_builddir}modules/${target}_pic.a "; done |
|---|
| 332 | | else |
|---|
| 333 | | for target in `echo "${list}"`; do printf "${top_builddir}modules/${target}.a "; done |
|---|
| 334 | | fi |
|---|
| | 321 | for target in `echo "${list}"`; do printf "${top_builddir}modules/${target}.a "; done |
|---|
| 335 | 322 | fi |
|---|
| 336 | 323 | if test "${echo_external}" = yes; then |
|---|
| 337 | | if test "${echo_pic}" = yes; then |
|---|
| 338 | | for module in `echo "${builtins}"`; do |
|---|
| 339 | | ldflags="${ldflags} @libdir@/vlc/lib${module}_pic.a" |
|---|
| 340 | | done |
|---|
| 341 | | else |
|---|
| 342 | | for module in `echo "${builtins}"`; do |
|---|
| 343 | | ldflags="${ldflags} @libdir@/vlc/lib${module}.a" |
|---|
| 344 | | done |
|---|
| 345 | | fi |
|---|
| | 324 | for module in `echo "${builtins}"`; do |
|---|
| | 325 | ldflags="${ldflags} @libdir@/vlc/lib${module}.a" |
|---|
| | 326 | done |
|---|
| 346 | 327 | for module in `echo "${builtins}"`; do |
|---|
| 347 | 328 | register_flags "${module}" |
|---|