[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Add native ruby binding to Subversion distribution

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2001-10-30 16:21:54 CET

Yoshiki Hayashi wrote:
>> to ask. This patch adds -lpthread to LDFLAG if APR is
>> compiled with pthread. The problem is, if you load Svn.so
>> linked without -lpthread option, Ruby interpreter cannot
>> find libpthread and stop execution saying missing symbol or
>> something.

Besides what Greg Stein said, -lfoo should never go into LDFLAGS,
always into LIBS. LDFLAGS typically comes before the objects to be
linked, and if foo is a static library, nothing will get pulled in
from it if the objects haven't been read yet. (And besides, it's just

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:46 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.