Copyright (C) 2000-2012 |
GNU Info (python2.1-dist.info)Library optionsLibrary options --------------- You can also specify the libraries to link against when building your extension, and the directories to search for those libraries. The `libraries' option is a list of libraries to link against, `library_dirs' is a list of directories to search for libraries at link-time, and `runtime_library_dirs' is a list of directories to search for shared (dynamically loaded) libraries at run-time. For example, if you need to link against libraries known to be in the standard library search path on target systems Extension(..., libraries=["gdbm", "readline"]) If you need to link with libraries in a non-standard location, you'll have to include the location in `library_dirs': Extension(..., library_dirs=["/usr/X11R6/lib"], libraries=["X11", "Xt"]) (Again, this sort of non-portable construct should be avoided if you intend to distribute your code.) *Should mention clib libraries here or somewhere else!* automatically generated by info2www version 1.2.2.9 |