Use the R SHLIB LDFLAGS