build: fix hpux build pb
authorMatthieu Patou <mat@matws.net>
Tue, 7 Dec 2010 20:42:15 +0000 (23:42 +0300)
committerMatthieu Patou <mat@samba.org>
Tue, 7 Dec 2010 23:32:49 +0000 (00:32 +0100)
commit994bcf35d2c547edc7f567a0f1b6e4db73a3ee73
tree7d70c56b6ba49d319c18fdb536a05e1bd3bef79c
parenta52a587783e058f75815fa8add1f46b1c1d6f2d3
build: fix hpux build pb

Pair-Programmed-With: Thomas Nagy <tnagy2pow10@gmail.com>

Fix the library extension from .so to .sl
Add full path to library when linking this is needed due to a strange
behavior of HP-UX:

This command: gcc demo demo.c -L dir1/dir2/ -lsomelib
will give a binary with a hard coded lib like dir1/dir2/libsomelib.sl.
Somehow like a partial rpath, it has the first impact of fooling waf
detection of wether the plateform support libraries or not (leading to
being unable to compile samba on HPUX) and the impact of having non
functionnal binaries.

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Wed Dec  8 00:32:50 CET 2010 on sn-devel-104
buildtools/wafsamba/hpuxcc.py [new file with mode: 0644]
buildtools/wafsamba/wafsamba.py