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
0e50af7d
Commit
0e50af7d
authored
Sep 28, 2007
by
Mark Moriarty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cygwin adjustments -- skip x264 win32 patch, rename the pthreadGC2.a, build full gettext
parent
df17e346
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+12
-1
No files found.
extras/contrib/src/Makefile
View file @
0e50af7d
...
@@ -391,8 +391,13 @@ ifeq ($(BUILD),i586-pc-beos)
...
@@ -391,8 +391,13 @@ ifeq ($(BUILD),i586-pc-beos)
(
cd
$<
&&
for
f
in
`find
.
-name
libtool`;
do
sed
-e
's/ -shared / -nostart /'
-e
's/^predep_objects.*/predep_objects=""/'
-i
$$f;
chmod
+x
$$f;
done
)
(
cd
$<
&&
for
f
in
`find
.
-name
libtool`;
do
sed
-e
's/ -shared / -nostart /'
-e
's/^predep_objects.*/predep_objects=""/'
-i
$$f;
chmod
+x
$$f;
done
)
endif
endif
ifneq
($(HOST),$(BUILD))
ifneq
($(HOST),$(BUILD))
# We'll use the installed gettext and only need to cross-compile libintl, also build autopoint and gettextsize tools need for VLC bootstrap
ifndef
HAVE_CYGWIN
# We'll use the installed gettext and only need to cross-compile libintl, also build autopoint and gettextsize tools need for VLC bootstrap
(
cd
$<
&&
make
-C
gettext-runtime/intl
&&
patch
-p1
<
../Patches/libintl.patch
&&
make
-C
gettext-runtime/intl
install
&&
make
-C
gettext-tools/misc
install
)
(
cd
$<
&&
make
-C
gettext-runtime/intl
&&
patch
-p1
<
../Patches/libintl.patch
&&
make
-C
gettext-runtime/intl
install
&&
make
-C
gettext-tools/misc
install
)
else
# We are compiling for MinGW on Cygwin -- build the full current gettext
(
cd
$<
&&
make
&&
patch
-p1
<
../Patches/libintl.patch
&&
make
install
)
endif
else
else
# Build and install the whole gettext
# Build and install the whole gettext
(
cd
$<
&&
make
&&
patch
-p1
<
../Patches/libintl.patch
&&
make
install
)
(
cd
$<
&&
make
&&
patch
-p1
<
../Patches/libintl.patch
&&
make
install
)
...
@@ -1295,7 +1300,9 @@ else
...
@@ -1295,7 +1300,9 @@ else
x264
:
x264-$(X264_VERSION).tar.gz
x264
:
x264-$(X264_VERSION).tar.gz
$(EXTRACT_GZ)
$(EXTRACT_GZ)
ifdef
HAVE_WIN32
ifdef
HAVE_WIN32
ifndef
HAVE_CYGWIN
(cd
x264;patch
-p0
<../Patches/x264-20050624-win32.patch)
(cd
x264;patch
-p0
<../Patches/x264-20050624-win32.patch)
endif
else
else
patch
-p0
<
Patches/x264.patch
patch
-p0
<
Patches/x264.patch
rm
x264/x264.c
rm
x264/x264.c
...
@@ -2164,6 +2171,10 @@ pthreads: pthreads-w32-$(PTHREADS_VERSION)-release.tar.gz
...
@@ -2164,6 +2171,10 @@ pthreads: pthreads-w32-$(PTHREADS_VERSION)-release.tar.gz
.pthreads
:
pthreads
.pthreads
:
pthreads
(
cd
$<
;
$(HOSTCC)
make
$(PTHREADSCONF)
GC-static
&&
cp
-v
pthread.h sched.h semaphore.h
$(PREFIX)
/include/
&&
cp
-v
*
.a
$(PREFIX)
/lib/
)
(
cd
$<
;
$(HOSTCC)
make
$(PTHREADSCONF)
GC-static
&&
cp
-v
pthread.h sched.h semaphore.h
$(PREFIX)
/include/
&&
cp
-v
*
.a
$(PREFIX)
/lib/
)
ifdef
HAVE_CYGWIN
# for some reason Cygwin builds libpthreadGC2.a
mv
$(PREFIX)/lib/libpthreadGC2.a
$(PREFIX)/lib/libpthread.a
endif
$(INSTALL_NAME)
$(INSTALL_NAME)
touch
$@
touch
$@
...
...
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