Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Gautam Chitnis
web-ui-redesign
Commits
d6164715
Commit
d6164715
authored
Apr 15, 2008
by
Pierre d'Herbemont
Browse files
macosx: Use $suffix in Pre-Compile.sh, and install as requested by funman.
parent
8d90a61e
Changes
1
Hide whitespace changes
Inline
Side-by-side
projects/macosx/framework/Pre-Compile.sh
View file @
d6164715
...
...
@@ -92,17 +92,18 @@ if test "${ACTION}" = "build"; then
if
[
"
$FULL_PRODUCT_NAME
"
=
"VLC-release.app"
]
;
then
prefix
=
".libs/"
install_library
"
${
VLC_BUILD_DIR
}
/src/
${
prefix
}
vlc"
"
${
target
}
"
"bin"
"@loader_path/lib"
mv
${
target
}
/vlc
${
target
}
/VLC
chmod
+x
${
target
}
/VLC
install
${
target
}
/vlc
${
target
}
/VLC
suffix
=
"dylib"
else
prefix
=
""
suffix
=
"so"
fi
##########################
# Build the modules folder (Same as VLCKit.framework/modules in Makefile)
echo
"Building modules folder..."
# Figure out what modules are available to install
for
module
in
`
find
${
VLC_BUILD_DIR
}
/modules
-name
*
.
so
`
;
do
for
module
in
`
find
${
VLC_BUILD_DIR
}
/modules
-name
*
.
${
suffix
}
`
;
do
# Check to see that the reported module actually exists
if
test
-n
${
module
}
;
then
install_library
${
module
}
${
target_modules
}
"module"
...
...
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