Little patch for install libsmbclient.h

Tom Alsberg alsbergt at
Tue Apr 8 11:00:20 GMT 2003

It seems that recent versions of the 3.0 source tree fail to install
when the build directory is not the same as the source directory, that
because make can't find include/libsmbclient.h in the build tree.
Following is a small patch (one line difference) to fix that.

  -- Tom

RCS file: /cvsroot/samba/source/,v
retrieving revision 1.679
diff -u -r1.679
--- 8 Apr 2003 08:05:01 -0000       1.679
+++ 8 Apr 2003 10:58:08 -0000
@@ -1136,7 +1136,7 @@
        -$(INSTALLCLIENTCMD_SH) bin/libsmbclient. at SHLIBEXT@ $(DESTDIR)${prefix}/lib
        -$(INSTALLCLIENTCMD_A) bin/libsmbclient.a $(DESTDIR)${prefix}/lib
        @$(SHELL) $(srcdir)/script/ $(DESTDIR)${prefix}/include
-       -$(INSTALLCMD) include/libsmbclient.h $(DESTDIR)${prefix}/include
+       -$(INSTALLCMD) $(srcdir)include/libsmbclient.h $(DESTDIR)${prefix}/include
 # Python extensions
  Tom Alsberg - hacker (being the best description fitting this space)
  Web page:
DISCLAIMER:  The above message does not even necessarily represent what
my fingers have typed on the keyboard, save anything further.

More information about the samba-technical mailing list