From fa2deb706e87a50a55fa49d363b6c9a4a078af00 Mon Sep 17 00:00:00 2001 From: Clifton Barnes Date: Tue, 16 Aug 2022 13:45:49 -0400 Subject: [PATCH] Use more compatible argument syntax --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a8d24f6..f2ca7d0 100644 --- a/setup.py +++ b/setup.py @@ -79,7 +79,7 @@ class build_ext_extra(build_ext, object): if libarchivePrefix: extra_compile_args = ['-I{0}/include'.format(libarchivePrefix)] - extra_link_args = ['-Wl,-rpath={0}/lib'.format(libarchivePrefix)] + extra_link_args = ['-Wl,-rpath,{0}/lib'.format(libarchivePrefix)] environ['LDFLAGS'] = '-L{0}/lib {1}'.format(libarchivePrefix, environ.get('LDFLAGS', '')) else: extra_compile_args = []