Re: Fix module loading for OpenBSD

2022-12-09 Thread Chet Ramey
On 12/8/22 2:10 PM, Christian Weisgerber wrote: Dynamic loading of modules is broken on OpenBSD: bash-5.2$ enable finfo bash:/usr/local/lib/bash/finfo: undefined symbol 'sh_optind' bash:/usr/local/lib/bash/finfo: undefined symbol 'sh_optarg' bash: enable: finfo: not a shell builtin This is triv

Fix module loading for OpenBSD

2022-12-08 Thread Christian Weisgerber
Dynamic loading of modules is broken on OpenBSD: bash-5.2$ enable finfo bash:/usr/local/lib/bash/finfo: undefined symbol 'sh_optind' bash:/usr/local/lib/bash/finfo: undefined symbol 'sh_optarg' bash: enable: finfo: not a shell builtin This is trivially fixed, configure simply needs to add -rdynam