builddefs.in
Lasse Kliemann
lasse-private-2010 at mail.plastictree.net
Sun Mar 21 09:13:50 CDT 2010
Using 3.1.1.
When configured with a '--prefix', the build fails:
[...]
[CC] linux.lo
[LD] libxfs.la
libtool: link: only absolute run-paths are allowed
gmake[2]: *** [libxfs.la] Error 1
gmake[1]: *** [libxfs] Error 2
make: *** [default] Error 2
Calling 'make' in 'libxfs' reveals that '-rpath' option is used
with no argument. The attached patch remedies this. Indeed, with
this patch the correct argument is given to '-rpath', at least in
'libxfs' subdirectory.
It also remedies a similar problem when installing executables
into '.../sbin' directory.
-------------- next part --------------
diff --git a/include/builddefs.in b/include/builddefs.in
index cc75b5d..801b09e 100644
--- a/include/builddefs.in
+++ b/include/builddefs.in
@@ -52,8 +52,8 @@ datarootdir = @datarootdir@
top_builddir = @top_builddir@
PKG_SBIN_DIR = @sbindir@
-PKG_ROOT_SBIN_DIR = @root_sbindir@
-PKG_ROOT_LIB_DIR= @root_libdir@@libdirsuffix@
+PKG_ROOT_SBIN_DIR = @sbindir@
+PKG_ROOT_LIB_DIR= @libdir@@libdirsuffix@
PKG_LIB_DIR = @libdir@@libdirsuffix@
PKG_INC_DIR = @includedir@/xfs
DK_INC_DIR = @includedir@/disk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20100321/d4335504/attachment.sig>
More information about the xfs
mailing list