gcc -shared -DDYNAMIC_VERSION -fPIC `libsingular-config --cflags` partition.cc -o partition.so