zlib: empty SHAREDLIBV
>>
>> No, but zlib is really very custom made build stuff, so I'm not
>> surprised if it need some help from the ebuild to actually do something
>> useful.
>
> OK, then I switch to linux, to find out how it should behave.
Seems like a bug in configure and/or Makefile.in in combination with a
misscofiguration of mine:
initially $shared is set to 1. (line 56: shared=1). Also the
libraries are set. As long as $shared this is not ZERO, the copy line
works.
The copy line is set in Makefile.in UNCONDITIONALLY. That is the bug I suspect.
If $shared is set to 1 the libraries are emptied and the copy line
breaks. This happens by this condition near line 240:
<snip>
elif test -z "$old_cc" -a -z "$old_cflags"; then
echo No shared library support.
shared=0;
</snip>
The origin of this variables is line 60 at the top:
old_cc="$CC"
old_cflags="$CFLAGS"
Bottomline: configure only works with shared libraries.
What do you suggest?
Fixing Makefile.in?
Setting CC or CFLAGS? Which value? Which location?
Al
|