Hi Budo, I don't think your approach is the right one, working against the package maintainer's intent to provide both types of libraries, one with -fPIC and one without. Check out my update to Debian bug #684116: the package already builds a libsuitesparseconfig_pic.a and simply misses to include it in the binary .deb file. I noticed when going through the patches that were already in the package before yours.
** Patch added: "include libsuitesparseconfig_pic.a in libsuitesparse-dev" https://bugs.launchpad.net/ubuntu/+source/suitesparse/+bug/1319687/+attachment/4322785/+files/fix-684116.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1319687 Title: SuiteSparse fails to link in shared library due to missing -fPIC in libsuitesparseconfig.a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/suitesparse/+bug/1319687/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs