Add ListMembers.
[invirt/packages/python-afs.git] / setup.py
index b0dbe5b..e368aa9 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -17,8 +17,8 @@ include_dirs = [os.path.join(os.path.dirname(__file__), 'afs'),
                 '%s/include' % root]
 library_dirs = ['%s/lib' % root,
                 '%s/lib/afs' % root]
-libraries = ['bos', 'volser', 'vldb', 'afsrpc', 'afsauthent', 'cmd',
-             'usd', 'audit', 'resolv', 'com_err']
+libraries = ['afsauthent', 'afsrpc', 'afsutil', 'resolv']
+define_macros = [('AFS_PTHREAD_ENV', None)]
 
 setup(
     name="PyAFS",
@@ -34,7 +34,8 @@ setup(
                   ["afs/_pts.pyx"],
                   libraries=libraries,
                   include_dirs=include_dirs,
-                  library_dirs=library_dirs)
+                  library_dirs=library_dirs,
+                  define_macros=define_macros)
         ],
     cmdclass= {"build_ext": build_ext}
 )