Changes between Version 9 and Version 10 of pm-switch


Ignore:
Timestamp:
Nov 21, 2010 1:39:46 PM (9 years ago)
Author:
stefan
Comment:

document change in libraries position

Legend:

Unmodified
Added
Removed
Modified
  • pm-switch

    v9 v10  
    187187Note that the names of the variables correspond exactly to the names given to the libraries and binaries in the third argument {{{AC_COIN_HAS_PACKAGE()}}}, as described in the section on the {{{Root/Xxx/configure.ac}}} file above. Hence, the command {{{AC_COIN_HAS_PACKAGE(CoinDepend, [coinutils = trunk osi = trunk alps = trunk], [XxxLib])}}} will result in the libraries and flags for each of those dependencies being put into variables called {{{XXXLIB_LIBS}}} and {{{XXXLIB_CFLAGS}}} respectively.
    188188
    189 A final different is that there is no longer any need to use the {{{ADDLIBS}}} variable at all (it is not even defined), as the additional libraries are all included as dependencies when the lists of libraries are built up.
     189Further, there is no longer any need to use the {{{ADDLIBS}}} variable at all (it is not even defined), as the additional libraries are all included as dependencies when the lists of libraries are built up.
     190
     191When building libraries, note that the location of installed libraries has changed from {{{${libdir}}}} to {{{${libdir}/coin}}}.
     192Thus, the listing of libraries to be installed has to be changed to
     193{{{
     194   libcoindir = $(libdir)/coin
     195   libcoin_LTLIBRARIES = xxxlib.la
     196}}}
    190197
    191198== {{{Root/Xxx/test/Makefile.am}}} ==