Lz4 static required to compile for FDB 6.3?

I am trying to compile FDB 6.3.24 on a RHEL 8 host. One of the requirement for 6.3.24 is lz4 (liblz4.a) to be static link into the code. Is there a way to not static link it but dynamic link it instead? The reason is I can’t find a RHEL 8 lz4-static (only available on RHEL 7).