David Summers <david@summersoft.fay.ar.us> writes:
> After looking at the Makefile and the configure --help and such for a
> couple of hours I got a brilliant idea:
>
> LDFLAGS="-lcrypt -ldl -pthread \
> -L$RPM_BUILD_DIR/subversion-%{version}/subversion/libsvn_client/.libs \
> -L$RPM_BUILD_DIR/subversion-%{version}/subversion/libsvn_delta/.libs \
> -L$RPM_BUILD_DIR/subversion-%{version}/subversion/libsvn_fs/.libs \
> -L$RPM_BUILD_DIR/subversion-%{version}/subversion/libsvn_repos/.libs \
> -L$RPM_BUILD_DIR/subversion-%{version}/subversion/libsvn_ra/.libs \
> -L$RPM_BUILD_DIR/subversion-%{version}/subversion/libsvn_ra_dav/.libs \
> -L$RPM_BUILD_DIR/subversion-%{version}/subversion/libsvn_ra_local/.libs \
> -L$RPM_BUILD_DIR/subversion-%{version}/subversion/libsvn_subr/.libs \
> -L$RPM_BUILD_DIR/subversion-%{version}/subversion/libsvn_wc/.libs \
> " ./configure \
> --prefix=/usr \
> --with-apxs=%{apache_dir}/usr/bin/apxs \
> --with-apr=%{apache_dir}/bin/apr-config \
> --with-apr-util=%{apache_dir}/bin/apu-config
>
> And it works!
>
> But why should I have to specify all those directories on the command
> line?
I don't know anything about RPM, but why do you specify LDFLAGS at
all? The original value you had "-lcrypt -ldl -pthread" should be
generated by configure calling apr-config.
--
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 19 01:47:37 2002