Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
369fee63
Commit
369fee63
authored
Apr 07, 2016
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix linking non-embedded libuv test case.
parent
bb329a81
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
Makefile
Makefile
+1
-1
src/gevent/libuv/_corecffi_build.py
src/gevent/libuv/_corecffi_build.py
+8
-2
No files found.
Makefile
View file @
369fee63
...
...
@@ -189,5 +189,5 @@ test-py27-cffi: $(PY27)
test-py27-noembed
:
$(PY27)
cd
deps/libev
&&
./configure
--disable-dependency-tracking
&&
make
cd
deps/c-ares
&&
./configure
--disable-dependency-tracking
&&
make
cd
deps/libuv
&&
./autogen.sh
&&
./configure
&&
make
cd
deps/libuv
&&
./autogen.sh
&&
./configure
--disable-static
&&
make
CPPFLAGS
=
"-Ideps/libev -Ideps/c-ares -Ideps/libuv/include"
LDFLAGS
=
"-Ldeps/libev/.libs -Ldeps/c-ares/.libs -Ldeps/libuv/.libs"
LD_LIBRARY_PATH
=
"
$(PWD)
/deps/libev/.libs:
$(PWD)
/deps/c-ares/.libs:
$(PWD)
/deps/libuv/.libs"
EMBED
=
0
GEVENT_CORE_CEXT_ONLY
=
1
PYTHON
=
python2.7
PATH
=
$(BUILD_RUNTIMES)
/versions/python2.7/bin:
$(PATH)
make develop toxtest
src/gevent/libuv/_corecffi_build.py
View file @
369fee63
...
...
@@ -69,16 +69,22 @@ library_dirs = [
os
.
path
.
join
(
libuv_dir
,
'.libs'
)
]
# XXX: This is all duplicated from _setuplibuv.py
if
sys
.
platform
.
startswith
(
'win'
):
libuv_lib
=
os
.
path
.
join
(
libuv_dir
,
'Release'
,
'lib'
,
'libuv.lib'
)
extra_link_args
=
[
'/NODEFAULTLIB:libcmt'
,
'/LTCG'
]
extra_objects
=
[
libuv_lib
]
else
:
libuv_lib
=
os
.
path
.
join
(
libuv_dir
,
'.libs'
,
'libuv.a'
)
extra_objects
=
[
libuv_lib
]
extra_link_args
=
[]
LIBUV_LIBRARIES
=
[]
if
os
.
path
.
exists
(
libuv_lib
):
extra_objects
=
[
libuv_lib
]
else
:
# Must be non-embedded
extra_objects
=
[]
LIBUV_LIBRARIES
=
[
'uv'
]
if
sys
.
platform
.
startswith
(
'linux'
):
LIBUV_LIBRARIES
.
append
(
'rt'
)
elif
sys
.
platform
.
startswith
(
"win"
):
...
...
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