Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > 98486c5d20b46b97f41059844d43a2c2 > files > 5

duplicity-0.7.18.2-1.mga7.src.rpm

--- ./setup.py.orig	2011-11-25 20:20:20.000000000 +0100
+++ ./setup.py	2011-11-26 09:30:23.000000000 +0100
@@ -31,6 +31,8 @@
 
 incdir_list = libdir_list = None
 
+libname = sys.lib
+
 if os.name == 'posix':
     LIBRSYNC_DIR = os.environ.get('LIBRSYNC_DIR', '')
     args = sys.argv[:]
@@ -40,7 +42,7 @@
             sys.argv.remove(arg)
     if LIBRSYNC_DIR:
         incdir_list = [os.path.join(LIBRSYNC_DIR, 'include')]
-        libdir_list = [os.path.join(LIBRSYNC_DIR, 'lib')]
+        libdir_list = [os.path.join(LIBRSYNC_DIR, libname)]
 
 data_files = [('share/man/man1',
                ['bin/duplicity.1',