]> git.pld-linux.org Git - packages/systemd.git/blame - nss-in-rootlib.patch
- fix rc-local service directory
[packages/systemd.git] / nss-in-rootlib.patch
CommitLineData
69df72de
JR
1--- systemd-197/Makefile.am~ 2013-01-10 13:47:07.559176765 +0100
2+++ systemd-197/Makefile.am 2013-01-11 11:37:03.702831120 +0100
3@@ -3591,6 +3591,15 @@
4
5 lib_LTLIBRARIES += \
6 libnss_myhostname.la
7+
8+libnss_myhostname-install-hook:
9+ mv $(DESTDIR)$(libdir)/libnss_myhostname.so.2 $(DESTDIR)$(rootlibdir)
10+
11+libnss_myhostname-uninstall-hook:
12+ rm -f $(DESTDIR)$(rootlibdir)/libnss_myhostname.so.2
13+
14+INSTALL_EXEC_HOOKS += libnss_myhostname-install-hook
15+UNINSTALL_EXEC_HOOKS += libnss_myhostname-uninstall-hook
16 endif
17
18 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
This page took 0.06589 seconds and 4 git commands to generate.