elfutils: add --no-as-needed flag for library ordering issue (#6256)
* add --no-as-needed flag for library ordering issue libelf * fix syntax error.
This commit is contained in:
parent
f6ed8d856a
commit
a7b817b494
1 changed files with 2 additions and 1 deletions
|
@ -51,6 +51,7 @@ class Elfutils(AutotoolsPackage):
|
|||
|
||||
def configure_args(self):
|
||||
# configure doesn't use LIBS correctly
|
||||
gettext_lib = self.spec['gettext'].prefix.lib,
|
||||
return [
|
||||
'LDFLAGS=-L%s -lintl' % self.spec['gettext'].prefix.lib,
|
||||
'LDFLAGS=-Wl,--no-as-needed -L%s -lintl' % gettext_lib,
|
||||
'--enable-maintainer-mode']
|
||||
|
|
Loading…
Reference in a new issue