Armin K. wrote: > On 01/30/2013 08:48 PM, Bruce Dubbs wrote: >> Armin K. wrote: >>>> >>>> make sources libs >>>> cp -av lib/lib*.so.5* /usr/lib >>>> >>>> pushd misc >>>> sh gen-pkgconfig >>>> cp -v --remove-destination *.pc /usr/lib/pkgconfig >>>> popd >> >>> You don't want to do this. This copies only runtime libraries, not >>> development files. It would only duplicate the work you did earlier. >> >> We already copied all the headers. This is in addition to the wide >> version of the libraries above. We only need to copy a couple of >> non-wide libraries and the non-wide pc files. Would you please >> elaborate on your comment. >> > > You don't want to use non-widec libraries for linking.
You're right. I wasn't thinking it through. > And such .pc > files would say the build system that uses the pc file to link to > -lncurses instead of -lncursesw ... Of course, -lncurses would point to > -lncursesw, but why the all work? > > You should only install *.so.5* libraries (for binary compatibility with > old apps), not *.so of non widec libraries, That's what we are doing now. I didn't change that. > and .pc files generated such > way are useless. Just let the ln -s do the job in previous loop. Agree. I've removed that from my sandbox. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page