summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/wafsamba.py
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2010-12-07 23:42:15 +0300
committerMatthieu Patou <mat@samba.org>2010-12-08 00:32:49 +0100
commit994bcf35d2c547edc7f567a0f1b6e4db73a3ee73 (patch)
tree7d70c56b6ba49d319c18fdb536a05e1bd3bef79c /buildtools/wafsamba/wafsamba.py
parenta52a587783e058f75815fa8add1f46b1c1d6f2d3 (diff)
downloadsamba-994bcf35d2c547edc7f567a0f1b6e4db73a3ee73.tar.gz
samba-994bcf35d2c547edc7f567a0f1b6e4db73a3ee73.tar.bz2
samba-994bcf35d2c547edc7f567a0f1b6e4db73a3ee73.zip
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
Diffstat (limited to 'buildtools/wafsamba/wafsamba.py')
-rw-r--r--buildtools/wafsamba/wafsamba.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 5d13fa1023..1d3ced13ce 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -23,6 +23,7 @@ import samba_conftests
import samba_abi
import tru64cc
import irixcc
+import hpuxcc
import generic_cc
import samba_dist
import samba_wildcard