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

Re: roken merge



On 19 Aug 2000, Assar Westerlund wrote:

> Derrick J Brashear <shadow@dementia.org> writes:
> > Speaking of this, the kth-krb libsl and libss are the same (both include
> > ss_ functions) and kth-krb libs{s,l} do a dynamic dependancy on e.g.
> > -leditline when appropriate. If I submit a patch, will you take it? ;-)
> 
> This should add the dependencies, right?  As to the contents of the
> respective libraries, that we still need to decide on.

Does the wrong thing for static libraries with libtool, apparently. During
the build process, things try to link against:
lib/sl/.libs/libsl.a

which apparently contains, as part of the archive, libeditline.a

oops.

> /assar
> 
> Index: Makefile.am
> ===================================================================
> RCS file: /afs/pdc.kth.se/src/packages/kth-krb/SourceRepository/lib/sl/Makefile.am,v
> retrieving revision 1.18
> diff -u -w -u -w -r1.18 Makefile.am
> --- Makefile.am	2000/07/25 10:47:41	1.18
> +++ Makefile.am	2000/08/19 13:42:58
> @@ -10,6 +10,9 @@
>  libsl_la_LDFLAGS = -version-info 1:0:1
>  libss_la_LDFLAGS = -version-info 1:1:1
>  
> +libsl_la_LIBADD = @LIB_readline@
> +libss_la_LIBADD = @LIB_readline@
> +
>  RENAME_SRC = roken_rename.h strtok_r.c snprintf.c
>  
>  libsl_la_SOURCES = sl_locl.h sl.c
>