Menu

#11 libaudio.so.2.4 is linked without EXTRA_LDOPTIONS linker flags

v1.0 (example)
fixed
nobody
None
5
2023-05-20
2023-02-08
No

When passing EXTRA_LDOPTIONS to make with WORLDOPTS='-k EXTRA_LDOPTIONS=...' the resulting libaudio.so.2.4 shared library is build without them flags (comparing to other program, e.g. autoconvert). That undermines applying system-wide build flags to a distributed software.

It seems that's a feature or a bug of imake (checked with imake-1.0.9 templates). Instead, SHLIBGLOBALSFLAGS is used for shared libraries.

An attached patch mirrors EXTRA_LDOPTIONS value into SHLIBGLOBALSFLAGS.

Though I'm not sure whether it's the best place for the fix.

1 Attachments

Discussion

  • Jon Trulson

    Jon Trulson - 2023-05-20

    Sorry for letting this one slip through the cracks. I've applied this to current master. Thanks!

     
  • Jon Trulson

    Jon Trulson - 2023-05-20
    • status: open --> fixed
     

Log in to post a comment.