[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wfmath

Michael Koch wrote:
> The problem was that the auto*-tools dont link a libstdc++ lib in by 
> default. I dont know why, my sponsor dont know too, debian-mentors 
> didnt helped too. So I added "LDFLAGS=-lstdc++" to get it link during 
> build time and to get a dependency on it automatically.

'info autoconf' warns about this and recommends the use of LIBS.

> Now I wonder if I should remove this hack or extend this hack by 
> integrating the "LDFLAGS += -lm" hack ? What is better ?
> If someone know a way to fix the linkage of the lib that would be the 
> best way of course.

See AC_CHECK_LIB in 'info autoconf'.


Reply to: