Commit 520937a2 authored by Helmut Grohne's avatar Helmut Grohne Committed by Chris Lamb
Browse files

Use the build architecture's pkg-config to permit cross-architecture builds. (Closes: #949609)



disorderfs fails to build from source in a cross-architecture mannner because
the upstream Makefile hardcodes the build architecture pkg-config.

Signed-off-by: Chris Lamb's avatarChris Lamb <lamby@debian.org>
parent 453b7c82
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -30,8 +30,9 @@ ENABLE_MAN ?= $(HAS_A2X)
HAS_A2X ?= $(shell command -v a2x >/dev/null && echo yes || echo no)

# FUSE
FUSE_CFLAGS ?= $(shell pkg-config --cflags fuse) -DFUSE_USE_VERSION=26
FUSE_LIBS ?= $(shell pkg-config --libs fuse) -lulockmgr
PKG_CONFIG ?= pkg-config
FUSE_CFLAGS ?= $(shell $(PKG_CONFIG) --cflags fuse) -DFUSE_USE_VERSION=26
FUSE_LIBS ?= $(shell $(PKG_CONFIG) --libs fuse) -lulockmgr

# CXXFLAGS
CXXFLAGS += -std=c++11 -Wno-unused-parameter