use Inline C => Config => LIBS => '-LC:/full/path_to/lib -lfmodex';