]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: Overwrite existing symbolic links
authorAndrea Bolognani <abologna@redhat.com>
Wed, 20 Apr 2016 16:33:20 +0000 (18:33 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 21 Apr 2016 08:02:36 +0000 (10:02 +0200)
commitce8379eedcd200de43ab32238c4f88213083c7bc
tree79bedba1269b0fdd885c44652e63e4eaac75d1b7
parentd08cf940c4bdd84fc646496ffea1464af0afd375
build: Overwrite existing symbolic links

The current rule fails if the target already exists:

  cd /home/jenkins/build/libvirt/lib && \
    ln -s libnss_libvirt.so.1 nss_libvirt.so.1
  ln: nss_libvirt.so.1: File exists
  Makefile:3357: recipe for target 'install-exec-hook' failed

However, all other rules concerned with installation are
idempotent and will happily overwrite an existing target,
so this one should as well.
src/Makefile.am
tools/Makefile.am