On 13 January 2014 at 16:53, Florian Oswald wrote: | Kevin Ushey was right: just had to recompile the external library with -fPIC.
Yes, linking of a static library built with PIC (position-independent code) works. | Good to know that I could just copy everything into src and avoid such | issues. It's shortcut. It forces rebuilds of all the library files and you have to make sure you are allowed to distribute the library. But hey it works (and some CRAN packages do it, see eg RSQLite). Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel