samba 4.5.10 :- build issue with multiple libraries due to LINKFLAGS_PYEMBED.

Arjit Gupta arjitk.gupta at
Tue Jun 13 10:34:52 UTC 2017

Hi All,

I am building samba 4.5.10 in hpux-IA64.

I want all the bin and libraries to have embedded path /opt/samba/lib.

But few of libraries are build with embedded path of /usr/local/lib/hpux32.

On investigating further i found that for above libraries linker is

LINKFLAGS_PYEMBED has '-Wl,/usr/local/lib/hpux32', Which is over riding the
path provided in LINKFLAGS.

It seems that samba is getting this path from python itself as above path
is nowhere in samba source code.

Please let me know how could i change the path in LINKFLAGS_PYEMBED ?

Arjit Kumar

More information about the samba-technical mailing list