Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
451
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
86747ddc
Commit
86747ddc
authored
21 years ago
by
Christophe Massiot
Browse files
Options
Downloads
Patches
Plain Diff
Fixed bugs.
parent
9c374559
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
extras/contrib/Makefile
+2
-2
2 additions, 2 deletions
extras/contrib/Makefile
extras/contrib/change_prefix.sh
+14
-11
14 additions, 11 deletions
extras/contrib/change_prefix.sh
with
16 additions
and
13 deletions
extras/contrib/Makefile
+
2
−
2
View file @
86747ddc
...
...
@@ -2,7 +2,7 @@
# Makefile : Build vlc-contrib files
# ***************************************************************************
# Copyright (C) 2003 VideoLAN
# $Id: Makefile,v 1.
3
2003/11/23 13:
06:43
massiot Exp $
# $Id: Makefile,v 1.
4
2003/11/23 13:
23:20
massiot Exp $
#
# Authors: Christophe Massiot <massiot@via.ecp.fr>
#
...
...
@@ -42,7 +42,7 @@ bin: contrib-macosx.tar.bz2
mkdir
tmp
bunzip2
-c
$<
|
(
cd
tmp
;
tar
xf -
)
./change_prefix.sh tmp @@CONTRIB_PREFIX@@
$(
PREFIX
)
(
cd
tmp
;
tar
cf -
)
|
tar
xf -
(
cd
tmp
;
tar
cf -
.
)
|
tar
xf -
rm
-rf
tmp
clean-src
:
FORCE
...
...
This diff is collapsed.
Click to expand it.
extras/contrib/change_prefix.sh
+
14
−
11
View file @
86747ddc
...
...
@@ -3,7 +3,7 @@
# change_prefix.sh : allow to transfer a contrib dir
# ***************************************************************************
# Copyright (C) 2003 VideoLAN
# $Id: change_prefix.sh,v 1.
1
2003/11/23 13:
06:43
massiot Exp $
# $Id: change_prefix.sh,v 1.
2
2003/11/23 13:
23:20
massiot Exp $
#
# Authors: Christophe Massiot <massiot@via.ecp.fr>
#
...
...
@@ -44,14 +44,17 @@ fi
cd
$top_dir
files
=
`
find
.
-type
f
`
for
file
in
$files
;
do
libs
=
`
otool
-L
$file
2>/dev/null |
grep
$prefix
|
cut
-d
\
-f
1
`
for
i
in
""
$libs
;
do
if
!
test
-z
$i
;
then
install_name_tool
-change
$i
\
`
echo
$i
|
sed
-e
"s,
$prefix
,
$new_prefix
,"
`
\
$file
fi
done
sed
-e
"s,
$prefix
,
$new_prefix
,g"
<
$file
>
$file
.tmp
mv
-f
$file
.tmp
$file
if
test
".
`
file
$file
|
grep
Mach-O
`
"
!=
"."
;
then
libs
=
`
otool
-L
$file
2>/dev/null |
grep
$prefix
|
cut
-d
\
-f
1
`
for
i
in
""
$libs
;
do
if
!
test
-z
$i
;
then
install_name_tool
-change
$i
\
`
echo
$i
|
sed
-e
"s,
$prefix
,
$new_prefix
,"
`
\
$file
fi
done
else
sed
-e
"s,
$prefix
,
$new_prefix
,g"
<
$file
>
$file
.tmp
mv
-f
$file
.tmp
$file
fi
done
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment