Assuming that your library was compiled with “-fPIC” (even though it is an archive library), you can try: