Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
nvme-cli.26590
0103-build-use-pkg-config-for-libuuid-detection...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0103-build-use-pkg-config-for-libuuid-detection.patch of Package nvme-cli.26590
From: Daniel Wagner <dwagner@suse.de> Date: Fri, 23 Jul 2021 12:32:15 +0200 Subject: build: Use pkg-config for libuuid detection The ppc64le build fails because libuuid is not correctly detected and the final build doesn't inlcude support for generating uuids via 'nvme gen-hostnqn'. Use pkg-config to figure out if libuuid is installed or not. Signed-off-by: Daniel Wagner <dwagner@suse.de> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ CFLAGS ?= -O2 -g -Wall -Werror override CFLAGS += -std=gnu99 -I. override CPPFLAGS += -D_GNU_SOURCE -D__CHECK_ENDIAN__ -LIBUUID = $(shell $(LD) -o /dev/null -luuid >/dev/null 2>&1; echo $$?) +LIBUUID = $(shell pkg-config --exists uuid; echo $$?) LIBHUGETLBFS = $(shell $(LD) -o /dev/null -lhugetlbfs >/dev/null 2>&1; echo $$?) HAVE_SYSTEMD = $(shell pkg-config --exists libsystemd --atleast-version=242; echo $$?) NVME = nvme
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor