Skip to content
Commit f9f1a63e authored by Olivia Yin's avatar Olivia Yin Committed by Martin Jansa
Browse files

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: default avatarOlivia Yin <hong-hua.yin@freescale.com>
Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
parent eb040205
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment