summaryrefslogtreecommitdiffstats
path: root/libtorrent/bindings/python/src/module.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtorrent/bindings/python/src/module.cpp')
-rwxr-xr-xlibtorrent/bindings/python/src/module.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libtorrent/bindings/python/src/module.cpp b/libtorrent/bindings/python/src/module.cpp
index 3d0925f47..c512e346a 100755
--- a/libtorrent/bindings/python/src/module.cpp
+++ b/libtorrent/bindings/python/src/module.cpp
@@ -44,7 +44,9 @@ BOOST_PYTHON_MODULE(libtorrent)
bind_alert();
bind_datetime();
bind_extensions();
+#ifndef TORRENT_NO_PYTHON_PLUGINS
bind_peer_plugin();
+#endif
bind_torrent();
bind_peer_info();
bind_ip_filter();