search for: firstpkg

Displaying 1 result from an estimated 1 matches for "firstpkg".

2008 Nov 11
1
Linking to headers and shared library in another package
Hi, A package with some C code needs to use the headers and shared library in another package during installation/compilation. The first one is achieved through the LinkingTo option in DESCRIPTION. For the second a Makevars file with PKG_LIBS=$(R_HOME)/library/firstPkg/libs/firstPkg.so was being used. Problem this is not portable if the firstPkg package is not installed in the library folder inside R_HOME but lives somewhere else. What is the best way for Makevars or configure to find where a package lives? Or is there any other way to make sure the linking ste...