]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[libply-splash-core] Install to / instead of /usr
authorRay Strode <rstrode@redhat.com>
Wed, 27 Jan 2010 14:43:04 +0000 (09:43 -0500)
committerRay Strode <rstrode@redhat.com>
Wed, 27 Jan 2010 14:43:04 +0000 (09:43 -0500)
Since plymouthd links against this library, we should
probably move it to /lib if plymouthd is installed in
/sbin

src/libply-splash-core/Makefile.am

index d6abc3572c44f75a4d31093256eb722310bf79a9..c8fb2a0b39a595da927bea429572f652b58bad32 100644 (file)
@@ -3,7 +3,13 @@ INCLUDES = -I$(top_srcdir)                                                    \
            -I$(srcdir)/../libply                                              \
            -I$(srcdir)/../plugins/controls
 
-lib_LTLIBRARIES = libply-splash-core.la
+if WITH_SYSTEM_ROOT_INSTALL
+librarydir = $(libdir:/usr%=%)
+else
+librarydir = $(libdir)
+endif
+
+library_LTLIBRARIES = libply-splash-core.la
 
 libply_splash_coredir = $(includedir)/plymouth-1/ply-splash-core
 libply_splash_core_HEADERS = \