Windows 64 build with integration of lensfun

Ok, rereading now I understand what you mean. Here’s how I would do this with dynamic profiles:

  1. create a rule that applies the following partial profile whenever your camera is found:
[LensProfile]
UseLensfun=true
LFAutoMatch=true
LFCameraMake=MY CAMERA MAKE
LFCameraModel=MY CAMERA MODEL

Notice that LFAutoMatch is still set to true here.

  1. add a rule for your lens that is not picked up automatically by lensfun, overriding LFAutoMatch:
[LensProfile]
LFAutoMatch=false
LFLens=MY LENS
  1. Make sure the rule for the lens comes after that for the camera, so that LFAutoMatch is properly overridden. Then you should be good to go.