glib: add missing libelf dep (#33894)
This commit is contained in:
parent
0697d20fd4
commit
e10c47c53d
@ -127,6 +127,7 @@ class Glib(Package):
|
||||
depends_on("uuid", when="+libmount")
|
||||
depends_on("util-linux", when="+libmount")
|
||||
depends_on("iconv")
|
||||
depends_on("elf") # bin/gresource
|
||||
|
||||
# The following patch is needed for gcc-6.1
|
||||
patch("g_date_strftime.patch", when="@2.42.1")
|
||||
@ -199,6 +200,7 @@ def meson_args(self):
|
||||
else:
|
||||
args.append("-Dselinux=false")
|
||||
args.append("-Dgtk_doc=false")
|
||||
args.append("-Dlibelf=enabled")
|
||||
return args
|
||||
|
||||
def install(self, spec, prefix):
|
||||
@ -281,7 +283,7 @@ def fix_python_path(self):
|
||||
filter_file(
|
||||
"^#!/usr/bin/env @PYTHON@",
|
||||
"#!/usr/bin/env {0}".format(os.path.basename(self.spec["python"].command.path)),
|
||||
*files
|
||||
*files,
|
||||
)
|
||||
|
||||
@run_before("install")
|
||||
|
Loading…
Reference in New Issue
Block a user