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
d6164715
Commit
d6164715
authored
Apr 15, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: Use $suffix in Pre-Compile.sh, and install as requested by funman.
parent
8d90a61e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
projects/macosx/framework/Pre-Compile.sh
projects/macosx/framework/Pre-Compile.sh
+4
-3
No files found.
projects/macosx/framework/Pre-Compile.sh
View file @
d6164715
...
@@ -92,17 +92,18 @@ if test "${ACTION}" = "build"; then
...
@@ -92,17 +92,18 @@ if test "${ACTION}" = "build"; then
if
[
"
$FULL_PRODUCT_NAME
"
=
"VLC-release.app"
]
;
then
if
[
"
$FULL_PRODUCT_NAME
"
=
"VLC-release.app"
]
;
then
prefix
=
".libs/"
prefix
=
".libs/"
install_library
"
${
VLC_BUILD_DIR
}
/src/
${
prefix
}
vlc"
"
${
target
}
"
"bin"
"@loader_path/lib"
install_library
"
${
VLC_BUILD_DIR
}
/src/
${
prefix
}
vlc"
"
${
target
}
"
"bin"
"@loader_path/lib"
mv
${
target
}
/vlc
${
target
}
/VLC
install
${
target
}
/vlc
${
target
}
/VLC
chmod
+x
${
target
}
/VLC
suffix
=
"dylib"
else
else
prefix
=
""
prefix
=
""
suffix
=
"so"
fi
fi
##########################
##########################
# Build the modules folder (Same as VLCKit.framework/modules in Makefile)
# Build the modules folder (Same as VLCKit.framework/modules in Makefile)
echo
"Building modules folder..."
echo
"Building modules folder..."
# Figure out what modules are available to install
# 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
# Check to see that the reported module actually exists
if
test
-n
${
module
}
;
then
if
test
-n
${
module
}
;
then
install_library
${
module
}
${
target_modules
}
"module"
install_library
${
module
}
${
target_modules
}
"module"
...
...
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