mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-07 15:02:40 +00:00
helpers: fix install race
The install hook needs to be a install-data-hook not an install-exec-hook as the helpers are installed into helperdir which is considered data (only path variables with "exec" in are considered executables). The explicit dependency on install-helpersPROGRAMS was an attempt at solving this, but this causes occasional races where install-helpersPROGRAMS can run twice in parallel (once via install-all, once via the hook's dependency). https://bugzilla.gnome.org/show_bug.cgi?id=758029
This commit is contained in:
parent
87691d0280
commit
09aa20746a
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ gst_ptp_helper_CFLAGS = $(GST_OBJ_CFLAGS) $(GIO_CFLAGS)
|
||||||
gst_ptp_helper_LDADD = $(GST_OBJ_LIBS) $(GIO_LIBS) $(CAP_LIBS)
|
gst_ptp_helper_LDADD = $(GST_OBJ_LIBS) $(GIO_LIBS) $(CAP_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
install-exec-hook: install-helpersPROGRAMS
|
install-data-hook:
|
||||||
if HAVE_PTP
|
if HAVE_PTP
|
||||||
if HAVE_PTP_HELPER_SETUID
|
if HAVE_PTP_HELPER_SETUID
|
||||||
- chown root $(DESTDIR)$(helpersdir)/gst-ptp-helper
|
- chown root $(DESTDIR)$(helpersdir)/gst-ptp-helper
|
||||||
|
|
Loading…
Reference in a new issue