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
341253ed
Commit
341253ed
authored
Jan 22, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
live555: patch after extracting, before compiling
parent
0ef89a6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
contrib/src/live555/rules.mak
contrib/src/live555/rules.mak
+15
-15
No files found.
contrib/src/live555/rules.mak
View file @
341253ed
...
...
@@ -11,16 +11,6 @@ $(TARBALLS)/$(LIVE555_FILE):
.sum-live555
:
$(LIVE555_FILE)
live555
:
$(LIVE555_FILE) .sum-live555
rm
-Rf
live
$(UNPACK)
chmod
-R
u+w live
ifdef
HAVE_ANDROID
patch
-p0
<
$(SRC)
/live555/android.patch
endif
mv
live
$@
touch
$@
LIVE_TARGET
=
$(
error
live555 target not defined!
)
ifdef
HAVE_LINUX
LIVE_TARGET
:=
linux
...
...
@@ -35,19 +25,29 @@ ifdef HAVE_MACOSX
LIVE_TARGET
:=
macosx
endif
.live555
:
live555
live555
:
$(LIVE555_FILE) .sum-live555
rm
-Rf
live
$(UNPACK)
chmod
-R
u+w live
ifdef
HAVE_ANDROID
patch
-p0
<
$(SRC)
/live555/android.patch
endif
ifdef
HAVE_WINCE
cd
$<
&&
sed
-e
's/-lws2_32/-lws2/g'
-i
.orig config.mingw
cd
live
&&
sed
-e
's/-lws2_32/-lws2/g'
-i
.orig config.mingw
endif
ifdef
HAVE_MACOSX
cd
$<
&&
sed
-i
.orig
-e
s/
"libtool -s -o"
/
"ar cr"
/g config.macosx
*
cd
live
&&
sed
-i
.orig
-e
s/
"libtool -s -o"
/
"ar cr"
/g config.macosx
*
endif
cd
$<
&&
sed
\
cd
live
&&
sed
\
-e
's%-DBSD=1%-DBSD=1\
$(EXTRA_CFLAGS)
\
$(EXTRA_LDFLAGS)
%'
\
-e
's%cc%
$(CC)
%'
\
-e
's%c++%
$(CXX)
\
$(EXTRA_LDFLAGS)
%'
\
-i
.orig config.macosx
cd
$<
&&
sed
-e
's%-D_FILE_OFFSET_BITS=64%-D_FILE_OFFSET_BITS=64\ -fPIC\ -DPIC%'
-i
.orig config.linux
cd
live
&&
sed
-e
's%-D_FILE_OFFSET_BITS=64%-D_FILE_OFFSET_BITS=64\ -fPIC\ -DPIC%'
-i
.orig config.linux
mv
live
$@
touch
$@
.live555
:
live555
cd
$<
&&
./genMakefiles
$(LIVE_TARGET)
cd
$<
&&
$(MAKE)
$(HOSTVARS)
mkdir
-p
--
"
$(PREFIX)
/lib"
"
$(PREFIX)
/include"
...
...
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