[Buildroot] [PATCH v2] package/apache: add option BR2_PACKAGE_APACHE_UTILS_ONLY

Giulio Benetti giulio.benetti at benettiengineering.com
Thu Sep 21 20:29:48 UTC 2023


On 21/09/23 22:10, Arnout Vandecappelle wrote:
> 
> 
> On 21/09/2023 21:24, Giulio Benetti wrote:
>> Hi Arnout,
>>
>> On 21/09/23 20:58, Arnout Vandecappelle via buildroot wrote:
>>>   Hi Giulio
>>>
>>> On 18/09/2023 10:15, Giulio Benetti wrote:
> [snip]
>>>> +    --with-static-htdigest \
>>>> +    --with-static-htpasswd
>>>
>>>   This sounds like they're linked statically? Is there a reason to do 
>>> that (other than that you have to install the shared lib to target, 
>>> of course)?
>>
>> I was curious about this too and so I've tried to give a:
>> $ file htdigest
>> and same to htpasswd and they turned out to be shared linked binaries,
>> so that --with-static-* option is pretty ambiguous.
> 
>   Well, looking at the configure script, it looks like it _does_ get 
> linked with -static if that option is enabled. Of course, -static 
> doesn't mean that it's not linked dynamically at all - if there are some 
> libraries for which no static variant is available (which is the case if 
> BR2_SHARED_LIBS=y), then those are still linked dynamically.

Ah yes, you're right.

>   AFAICS there should be no reason to pass these two options.

You're totally right here too, dropping them it builds correctly.
I also tried to check if support/Makefile was already produced to avoid
autotools configure step, but unfortunately not.

So I'm going to send V4 without those 2 useless options.

Thanks a lot for reviewing!

Best regards
-- 
Giulio Benetti
CEO&CTO at Benetti Engineering sas



More information about the buildroot mailing list