Fixed install-exec-hook for plugins to work correctly when $DESTDIR is set.
This commit is contained in:
parent
bd3d643f96
commit
d6f340eb96
@ -15,7 +15,7 @@ pkglib_LTLIBRARIES = simple.la
|
||||
# (There is no way to stop libtool generating static libs locally, and we
|
||||
# cannot do this globally because of libmetacity-private.so).
|
||||
install-exec-hook:
|
||||
rm $(pkglibdir)/*.a
|
||||
rm $(pkglibdir)/*.la
|
||||
rm $(DESTDIR)$(pkglibdir)/*.a
|
||||
rm $(DESTDIR)$(pkglibdir)/*.la
|
||||
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user