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
@ -51,6 +51,7 @@ class Elfutils(AutotoolsPackage):
|
|||||||
|
|
||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
# configure doesn't use LIBS correctly
|
# configure doesn't use LIBS correctly
|
||||||
|
gettext_lib = self.spec['gettext'].prefix.lib,
|
||||||
return [
|
return [
|
||||||
'LDFLAGS=-L%s -lintl' % self.spec['gettext'].prefix.lib,
|
'LDFLAGS=-Wl,--no-as-needed -L%s -lintl' % gettext_lib,
|
||||||
'--enable-maintainer-mode']
|
'--enable-maintainer-mode']
|
||||||
|
Loading…
Reference in New Issue
Block a user