On 02/24/09 06:29, Jeff Trawick wrote:
> Seema Alevoor wrote:
>> Please review the webrev at http://cr.opensolaris.org/~seema/6782613/
>>
>> Main changes:
>> * --cflags includes CFLAGS and EXTRA_CFLAGS
>> * --link-ld and --link-libtool options includes --ldflags option value.
>>
> These all sound like APR fixes, and not issues with our integration. Is 
> that right? What was broken? I just see the -m32/-m64 issue in the CR.
> 
Evaluation has details about why --ldflags change was necessary.

> I understand that --cflags without the user-specified CFLAGS broke with 
> 64-bit builds, and I've posted to dev at apr asking about the history (it 
> is a hindrance people have put up with for too long).
> 
> Why should --link-ld and --link-libtool include the --ldflags value too?
> 
This is related to CR 6772796.

> Why is the following change needed? (add -L$libdir if apr-1-config 
> hasn't been installed to its usual place)

When the command "apr-1-config --link-ld --libs" is run from the proto area, it 
should not
include the runpath value as it points to the proto area.
This is similar to the --link-libtool change.

Thanks,
Seema.

> 
> ++        if test -n "$install_root"; then
> ++            flags="$flags -L$libdir -l${APR_LIBNAME}"
> ++        else
> ++            flags="$flags -L$libdir -R$libdir -l${APR_LIBNAME}"
> ++        fi
> 
> 
> Thanks!
> 
> _______________________________________________
> 
> 
> webstack-discuss mailing list
> webstack-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/webstack-discuss

Reply via email to