From 55f79dd1959db11f45272b92189ea43fc75eeef3 Mon Sep 17 00:00:00 2001 From: Philippe Normand Date: Wed, 3 Jun 2015 16:28:44 +0200 Subject: [PATCH] build: make install-exec-hooks depend on install-helpersPROGRAMS To avoid race conditions where make would try to change ownership and permissions of the not-yet-installed ptp helper. --- libs/gst/helpers/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gst/helpers/Makefile.am b/libs/gst/helpers/Makefile.am index 141c2c1..cd9f6ff 100644 --- a/libs/gst/helpers/Makefile.am +++ b/libs/gst/helpers/Makefile.am @@ -23,7 +23,7 @@ gst_ptp_helper_CFLAGS = $(GST_OBJ_CFLAGS) $(GIO_CFLAGS) gst_ptp_helper_LDADD = $(GST_OBJ_LIBS) $(GIO_LIBS) $(CAP_LIBS) endif -install-exec-hook: +install-exec-hook: install-helpersPROGRAMS if HAVE_PTP if HAVE_PTP_HELPER_SETUID chown root $(DESTDIR)$(helpersdir)/gst-ptp-helper -- 2.7.4