mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
Fix compiling of 'GeoIP.c' on some systems.
This commit is contained in:
parent
9f05f6fc64
commit
ff837215e3
1 changed files with 9 additions and 0 deletions
9
setup.py
9
setup.py
|
@ -74,6 +74,15 @@ except:
|
|||
pass
|
||||
|
||||
|
||||
if not os.environ.has_key("CC"):
|
||||
os.environ["CC"] = "gcc"
|
||||
|
||||
if not os.environ.has_key("CXX"):
|
||||
os.environ["CXX"] = "gcc"
|
||||
|
||||
if not os.environ.has_key("CPP"):
|
||||
os.environ["CPP"] = "g++"
|
||||
|
||||
# The libtorrent extension
|
||||
_extra_compile_args = [
|
||||
"-DHAVE_INCLUDE_LIBTORRENT_ASIO____ASIO_HPP=1",
|
||||
|
|
Loading…
Add table
Reference in a new issue