Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
398918b0
Commit
398918b0
authored
Jul 21, 2007
by
Pierre d'Herbemont
Browse files
Makefile.am: Use libtool on Mac OS X.
parent
9b84ae81
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile.am
View file @
398918b0
...
...
@@ -567,18 +567,23 @@ VLC.app: vlc
$(top_builddir)
/VLC.app
;
\
rm
-Rf
$(top_builddir)
/tmp
$(INSTALL)
-d
$(top_builddir)
/VLC.app/Contents/MacOS
$(INSTALL)
$(top_builddir)
/vlc
\
$(INSTALL)
-d
$(top_builddir)
/VLC.app/Contents/MacOS/lib
$(INSTALL)
$(top_builddir)
/.libs/vlc
\
$(top_builddir)
/VLC.app/Contents/MacOS/VLC
$(INSTALL)
$(top_builddir)
/src/.libs/libvlc.1.dylib
\
$(top_builddir)
/VLC.app/Contents/MacOS/lib/libvlc.dylib
install_name_tool
-change
/usr/local/lib/libvlc.1.dylib @executable_path/lib/libvlc.dylib
$(top_builddir)
/VLC.app/Contents/MacOS/VLC
ln
-sf
./VLC
$(top_builddir)
/VLC.app/Contents/MacOS/clivlc
$(INSTALL)
-d
$(top_builddir)
/VLC.app/Contents/MacOS/modules
for
i
in
""
`
$(VLC_CONFIG)
--target
plugin
`
;
do
\
if
test
-n
"
$$
i"
;
\
then
ln
-sfn
"
`
pwd
`
/
$$
i
$(LIBEXT)
"
\
then
ln
-sfn
"
`
pwd
`
/
`
dirname
$$
i
`
/.libs/
`
basename
$$
i
`
$(LIBEXT)
"
\
"
$(top_builddir)
/VLC.app/Contents/MacOS/modules"
;
\
fi
;
done
if
test
-d
$(srcdir)
/extras/contrib/vlc-lib
;
then
\
mkdir
-p
$(top_builddir)
/VLC.app/Contents/MacOS/lib
;
\
for
i
in
$(srcdir)
/extras/contrib/vlc-lib/
*
.dylib
;
do
\
install_name_tool
-change
/usr/local/lib/libvlc.1.dylib @executable_path/lib/libvlc.dylib
$
${i}
;
\
ln
-sfn
`
pwd
`
/
$
${i}
$(top_builddir)
/VLC.app/Contents/MacOS/lib/
`
basename
$
${i}
`
;
\
done
;
\
fi
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment