[oe] [PATCH, v2] openssl: enforce libdir=lib

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Tue Apr 26 14:15:42 UTC 2011


Koen Kooi <koen at dominion.thruhere.net> writes:

>> +	perl ./Configure ${EXTRA_OECONF} shared --prefix=$useprefix --libdir=`basename ${libdir}`
>
> Why not plain ${base_libdir}?

openssl's '--libdir' option expects a relative name. E.g. there is done

| $libdir="lib$multilib" if $libdir eq "";
| ...
| 	s/^LIBDIR=.*$/LIBDIR=$libdir/;
| ...
|		my $foo = "$prefix/$libdir/engines";

in Configure and

|	    echo 'libdir=$${exec_prefix}/$(LIBDIR)'; \

in Makefile.


Using absolute paths (as in ${base_libdir}) would create paths with
double '/'.  Perhaps, this would be a cosmetical issue only but using
plain 'lib' (or 'lib64') is better imo.


Enrico




More information about the Openembedded-devel mailing list