* [Buildroot] [PATCH] libsemanage: set PREFIX to generate proper .pc file
@ 2018-01-06 14:53 Marcus Folkesson
2018-01-07 4:33 ` Matthew Weber
0 siblings, 1 reply; 2+ messages in thread
From: Marcus Folkesson @ 2018-01-06 14:53 UTC (permalink / raw)
To: buildroot
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
---
package/libsemanage/libsemanage.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/libsemanage/libsemanage.mk b/package/libsemanage/libsemanage.mk
index 829409f527..1d0a700fff 100644
--- a/package/libsemanage/libsemanage.mk
+++ b/package/libsemanage/libsemanage.mk
@@ -13,10 +13,11 @@ LIBSEMANAGE_INSTALL_STAGING = YES
LIBSEMANAGE_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS)
+# DESTDIR is needed during the compile to compute library and header paths.
define LIBSEMANAGE_BUILD_CMDS
# DESTDIR is needed during the compile to compute library and
# header paths.
- $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(STAGING_DIR) all
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(STAGING_DIR) PREFIX=/usr all
endef
define LIBSEMANAGE_INSTALL_STAGING_CMDS
--
2.15.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-07 4:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-06 14:53 [Buildroot] [PATCH] libsemanage: set PREFIX to generate proper .pc file Marcus Folkesson
2018-01-07 4:33 ` Matthew Weber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox