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
ac717cc5
Commit
ac717cc5
authored
Oct 13, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(contrib) Building zvbi for windows with dynamic pthreadsGC2 dll
parent
2e5eb3f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
2 deletions
+23
-2
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+6
-2
extras/contrib/src/Patches/zvbi-makefile.patch
extras/contrib/src/Patches/zvbi-makefile.patch
+17
-0
No files found.
extras/contrib/src/Makefile
View file @
ac717cc5
...
@@ -1745,7 +1745,7 @@ zvbi-$(ZVBI_VERSION).tar.bz2:
...
@@ -1745,7 +1745,7 @@ zvbi-$(ZVBI_VERSION).tar.bz2:
zvbi
:
zvbi-$(ZVBI_VERSION).tar.bz2
zvbi
:
zvbi-$(ZVBI_VERSION).tar.bz2
$(EXTRACT_BZ2)
$(EXTRACT_BZ2)
ifdef
HAVE_WIN32
ifdef
HAVE_WIN32
(
cd
$@
;
patch
-p1
< ../Patches/zvbi-win32.patch
;
autoreconf
)
(
cd
$@
;
patch
-p1
< ../Patches/zvbi-win32.patch
;
patch
-p1
< ../Patches/zvbi-makefile.patch
;
autoreconf
)
endif
endif
ifdef
HAVE_WIN32
ifdef
HAVE_WIN32
...
@@ -1755,8 +1755,12 @@ else
...
@@ -1755,8 +1755,12 @@ else
endif
endif
ifdef
HAVE_DARWIN_OS
ifdef
HAVE_DARWIN_OS
(
cd
$<
;
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
CFLAGS
=
"
$(CFLAGS)
-fnested-functions"
&&
make
&&
make
install
)
(
cd
$<
;
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
CFLAGS
=
"
$(CFLAGS)
-fnested-functions"
&&
make
&&
make
install
)
else
ifdef
HAVE_WIN32
(
cd
$<
;
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
CFLAGS
=
"
$(CFLAGS)
--std=gnu99"
LIBS
=
"-lpthreadGC2"
&&
make
&&
make
install
)
else
else
(
cd
$<
;
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
CFLAGS
=
"
$(CFLAGS)
"
&&
make
-C
src
&&
make
-C
src
install
)
(
cd
$<
;
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
CFLAGS
=
"
$(CFLAGS)
"
&&
make
-C
src
&&
make
-C
src
install
)
endif
endif
endif
$(INSTALL_NAME)
$(INSTALL_NAME)
touch
$@
touch
$@
...
@@ -2344,7 +2348,7 @@ pthreads: pthreads-w32-$(PTHREADS_VERSION)-release.tar.gz
...
@@ -2344,7 +2348,7 @@ pthreads: pthreads-w32-$(PTHREADS_VERSION)-release.tar.gz
$(EXTRACT_GZ)
$(EXTRACT_GZ)
.pthreads
:
pthreads
.pthreads
:
pthreads
(
cd
$<
;
$(HOSTCC)
make
$(PTHREADSCONF)
GC
-static
&&
mkdir
-p
$(PREFIX)
/include
&&
cp
-v
pthread.h sched.h semaphore.h
$(PREFIX)
/include/
&&
mkdir
-p
$(PREFIX)
/lib
&&
cp
-v
*
.a
$(PREFIX)
/lib/
)
(
cd
$<
;
$(HOSTCC)
make
$(PTHREADSCONF)
GC
GC-static
&&
mkdir
-p
$(PREFIX)
/include
&&
cp
-v
pthread.h sched.h semaphore.h
$(PREFIX)
/include/
&&
mkdir
-p
$(PREFIX)
/lib
&&
cp
-v
*
.
{
a,dll
}
$(PREFIX)
/lib/
)
$(INSTALL_NAME)
$(INSTALL_NAME)
touch
$@
touch
$@
...
...
extras/contrib/src/Patches/zvbi-makefile.patch
0 → 100644
View file @
ac717cc5
--- zvbi/Makefile.am.orig 2008-10-14 08:51:32.000000000 +0200
+++ zvbi/Makefile.am 2008-10-14 08:51:47.000000000 +0200
@@ -19,13 +19,7 @@
DISTCLEANFILES = site_def.h
# Attn order matters.
SUBDIRS = \
m4 \
- src \
- $(proxy_dirs) \
- contrib \
- examples \
- test \
- po \
- doc
+ src
ACLOCAL_AMFLAGS = -I m4
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