scons: *** [test2.so] Source file: 
/home/nbecker/rpmbuild/BUILD/numpy-1.7.0/build/lib.linux-
x86_64-2.7/numpy/random/mtrand.so is static and is not compatible with shared 
target: test2.so
scons: building terminated because of errors.

relevant part of SConstruct:

mtrand = '/home/nbecker/rpmbuild/BUILD/numpy-1.7.0/build/lib.linux-
x86_64-2.7/numpy/random/mtrand.so' 
for mod in ['test2']:
        Default (env.SharedLibrary (target=mod, source=[mod+'.os', mtrand], 
SHLIBPREFIX='', LIBS=libs))
        Default (env.SharedObject (target=mod, source=mod+'.cc'))

file /home/nbecker/rpmbuild/BUILD/numpy-1.7.0/build/lib.linux-
x86_64-2.7/numpy/random/mtrand.so
/home/nbecker/rpmbuild/BUILD/numpy-1.7.0/build/lib.linux-
x86_64-2.7/numpy/random/mtrand.so: ELF 64-bit LSB shared object, x86-64, 
version 
1 (SYSV), dynamically linked, 
BuildID[sha1]=0xc43ab645baa811d5dc186fadd36dca368587e8eb, not stripped

_______________________________________________
Scons-dev mailing list
[email protected]
http://two.pairlist.net/mailman/listinfo/scons-dev

Reply via email to