xapi-project/sm — pull request #49 by djs55 (2013-10-23 13:27:35+00:00)
Title: Fix link of snapwatchd on Ubuntu raring

snapwatchd fails to link a shared .so with -shared:

/usr/bin/ld: xslib.o: relocation R_X86_64_32 against `.rodata.str1.1'
can not be used when making a shared object
xslib.o: could not read symbols: Bad value

We need to explicitly compile our objects as position-independent
code with -fPIC

Signed-off-by: David Scott