Commit fb293cba authored by Jean-Paul Saman's avatar Jean-Paul Saman

Overwrite destination link if it already exists.

The original install rule would fail if the link already existed.
Now installing succeeds if the destination was already there, it will
be overwritten with the new file.
parent fcff97fb
...@@ -75,7 +75,7 @@ noinst_HEADERS = $(source_h) ...@@ -75,7 +75,7 @@ noinst_HEADERS = $(source_h)
install-data-hook: install-data-hook:
cd $(DESTDIR)$(LIBVA_DRIVERS_PATH) ; \ cd $(DESTDIR)$(LIBVA_DRIVERS_PATH) ; \
for drv in $(DRIVERS); do \ for drv in $(DRIVERS); do \
ln -s xvba_drv_video.so $${drv}_drv_video.so; \ ln -sf xvba_drv_video.so $${drv}_drv_video.so; \
done done
# Extra clean files so that maintainer-clean removes *everything* # Extra clean files so that maintainer-clean removes *everything*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment