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
2e024847
Commit
2e024847
authored
Dec 31, 2009
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: Build fat binary using binary contrib on Mac OS X.
parent
40c3a9fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
extras/contrib/Makefile
extras/contrib/Makefile
+21
-2
No files found.
extras/contrib/Makefile
View file @
2e024847
...
...
@@ -29,7 +29,7 @@ include ./config.mak
BUILDDIRS
=
hosts build
ifdef
HAVE_DARWIN_OS
TARGETALL
=
using
-bin
TARGETALL
=
fat
-bin
else
TARGETALL
=
using-src
endif
...
...
@@ -70,10 +70,29 @@ ifdef HAVE_DARWIN_10
(cd
$(PREFIX)/lib
&&
sed
-e
's%/usr/lib/libiconv.la%$(PREFIX)/lib/libiconv.la%g'
-i.orig
*.la
&&
rm
-f
*.la.orig)
(cd
src
&&
$(MAKE)
.iconv)
endif
touch
hosts/$(HOST)/.$(CONTRIBREV)
touch
$@
using-bin
:
hosts/$(HOST)/.$(CONTRIBREV)
hosts/fat/.$(CONTRIBREV)-from-archs
:
@
if
test
-d
tmp
;
then
\
echo
"Move away ./tmp, it's in the way"
;
\
exit
1
;
\
fi
# FIXME - Doing this without rerunning bootstrap & make would be nicer
./bootstrap i686-apple-darwin10
&&
make
&&
\
./bootstrap x86_64-apple-darwin10
&&
make
&&
\
mkdir
tmp
;
cp
-R
hosts/x86_64-apple-darwin10/ tmp
;
(
cd
tmp/lib
&&
find
.
-name
"*.dylib"
-or
-name
"*.a"
)
|
while
read
lib
;
do
rm
tmp/lib/
$$
lib
\
lipo
-create
hosts/x86_64-apple-darwin10/lib/
$$
lib hosts/i686-apple-darwin10/lib/
$$
lib
-output
tmp/lib/
$$
lib
;
\
done
;
rm
-Rf
hosts/fat
&&
\
mv
tmp hosts/fat
&&
\
touch
$@
fat-bin
:
hosts/fat/.$(CONTRIBREV)-from-archs
endif
clean-src
:
...
...
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