Without seeing the code it's impossible to say which one will be easier to modify.
The efforts will be the same because it's unlikely the said library is written individually using the best facilities each language offers.