summaryrefslogtreecommitdiff
path: root/rdiff-backup/src/compilec.py
diff options
context:
space:
mode:
Diffstat (limited to 'rdiff-backup/src/compilec.py')
-rwxr-xr-xrdiff-backup/src/compilec.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/rdiff-backup/src/compilec.py b/rdiff-backup/src/compilec.py
index 4714cf3..17f6ea0 100755
--- a/rdiff-backup/src/compilec.py
+++ b/rdiff-backup/src/compilec.py
@@ -9,12 +9,8 @@ sys.argv.append("build")
setup(name="CModule",
version="0.9.0",
description="rdiff-backup's C component",
- ext_modules=[Extension("C", ["cmodule.c"],
- define_macros=[("_LARGEFILE_SOURCE", 1),
- ("_FILE_OFFSET_BITS", 64),
- ("_LARGE_FILES", 1)]),
- Extension("_librsync",
- ["_librsyncmodule.c"],
+ ext_modules=[Extension("C", ["cmodule.c"]),
+ Extension("_librsync", ["_librsyncmodule.c"],
libraries=["rsync"])])
assert not os.system("mv build/lib.linux-i686-2.2/C.so .")