[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#6323) smbk5pwd: Makefile links module for a different directory than it's installed to

Full_Name: Jonathan Clarke
Version: RE24
OS: Linux
URL: ftp://ftp.openldap.org/incoming/jonathan-clarke-smbk5pwd-rpath-20091002.patch
Submission from: (NULL) (


The makefile in the smbk5pwd contrib module runs the libtool link phase with
rtool=$(libdir), but then installs the module to $(moduledir), which can be
different, and thus causes install to bork:

../../../libtool --mode=install cp smbk5pwd.la /usr/lib/openldap
libtool: install: error: cannot install `smbk5pwd.la' to a directory not ending
in /usr/lib

The patch above fixes this, removing libdir completely from the Makefile as it
doesn't seem to be needed.