On Wed, Oct 04, 2023 at 03:03:29PM +0100, Stuart Henderson wrote:
> On 2023/10/01 11:24, Omar Polo wrote:
> > On 2023/09/30 13:10:19 +0100, Stuart Henderson <s...@spacehopper.org> wrote:
> > > On 2023/09/30 10:00, Omar Polo wrote:
> > > > c++ -o src/taisei [...many objects files...] \
> > > >     -flto \
> > > >     -Wl,--as-needed \
> > > >     -Wl,--allow-shlib-undefined -O2 -pipe -g \
> > > >     -Wl,--start-group \
> > > [..]
> > > 
> > > hmm, perhaps the other libs are getting stripped by --as-needed?
> > 
> > no idea, i couldn't make meson to not use that flag.
> 
> Just spotted in irssi,
> 
> MODMESON_CONFIGURE_ARGS += -Db_asneeded=false
> 
> which does disable -as-needed in the build. In that case, c++abi and
> pthread are no longer marked as extra, but then it shows a missing
> runtime dep on cglm.

It's weird to use MODMESON_CONFIGURE_ARGS.
CONFIGURE_ARGS should be used.

-- 
Antoine

Reply via email to