helpers: fix install race
authorRoss Burton <ross.burton@intel.com>
Thu, 12 Nov 2015 19:46:44 +0000 (19:46 +0000)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 13 Nov 2015 08:40:44 +0000 (09:40 +0100)
commit09aa20746a0fef97fb811c5503928c13a1f55eb5
treea06e392579e4845e3ad3c95d5a21022868daca03
parent87691d02805a26ebf62eb613b7e7a1d760243fd5
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
libs/gst/helpers/Makefile.am