Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
f65a4386
Commit
f65a4386
authored
Jul 17, 2007
by
damienf
Browse files
- contribs: cleanup pthreads for win32 target
parent
12a27bac
Changes
1
Hide whitespace changes
Inline
Side-by-side
extras/contrib/src/Makefile
View file @
f65a4386
...
...
@@ -1602,7 +1602,11 @@ zvbi-$(ZVBI_VERSION).tar.bz2:
zvbi
:
zvbi-$(ZVBI_VERSION).tar.bz2
$(EXTRACT_BZ2)
ifdef
HAVE_WIN32
.zvbi
:
zvbi .pthreads
else
.zvbi
:
zvbi
endif
ifdef
HAVE_DARWIN_OS
(
cd
$<
;
./configure
--prefix
=
$(PREFIX)
CFLAGS
=
"
$(CFLAGS)
-fnested-functions"
&&
make
&&
make
install
)
else
...
...
@@ -2167,7 +2171,7 @@ pthreads: pthreads-w32-$(PTHREADS_VERSION)-release.tar.gz
$(EXTRACT_GZ)
.pthreads
:
pthreads
(
cd
$<
;
$(HOSTCC)
make
$(PTHREADSCONF)
GC-
inlined
;
cp
pthread.h
../..
/include/
;
cp
*
.
dll
*
.a ../..
/lib/
)
(
cd
$<
;
$(HOSTCC)
make
$(PTHREADSCONF)
GC-
static
&&
cp
pthread.h
sched.h semaphore.h
$(PREFIX)
/include/
&&
cp
*
.
a
$(PREFIX)
/lib/
)
$(INSTALL_NAME)
touch
$@
...
...
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