Boost logo

Boost-Build :

From: Jordan Rosenthal (jr_at_[hidden])
Date: 2006-03-31 08:50:36


I'm trying to work with a custom generator on a linux system and
recently upgraded my boost-build v2 from an older version to a cvs
version from about a week ago. (I obtained the cvs version by clicking
on the nightly build link on the boost-build v2 home page if that matters).

The custom generator I have is based on SHARED_LIB and it seems that one
of the newer things implemented in boost-build is that, on unix systems,
a "lib" prefix is added to all such libraries. I understand the
rationale for that, but for my application, the prefix does not make
sense. After poking around in type.jam I found the
type.set-generated-target-prefix command. The comments before this
function imply that I can use an empty string to effectively remove the
prefix. However, it does not work for me. Is this a bug or is the
comment out-dated?

For example,

    type.set-generated-target-prefix MEXLIB : : "asdf" ;

works fine, but

   type.set-generated-target-prefix MEXLIB : : "" ;

does not. Any help would be appreciated,



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at