lvm2: add configure option --with-usrlibdir to install shared library in 64-bit systems
According to make.tmpl.in, shared lib will be installed under $(usrlibdir)
install_lib_shared: $(LIB_SHARED)
        $(INSTALL_PROGRAM) -D $< $(libdir)/$(<F).$(LIB_VERSION)
        $(INSTALL_DIR) $(usrlibdir)
        $(LN_S) -f $(USRLIB_RELPATH)$(<F).$(LIB_VERSION) $(usrlibdir)/$(<F)
But default $(usrlibdir) is $(DESTDIR)${prefix}/lib no matter it is 32-bit or 64-bit system.
So we need align $(usrlibdir) with $(libdir).
Signed-off-by: 
Olivia Yin <hong-hua.yin@freescale.com>
Signed-off-by: 
Martin Jansa <Martin.Jansa@gmail.com>
parent
eb040205
Please register or sign in to comment