diff --git a/filepath.cabal b/filepath.cabal
index 231f788d6db14c8a66c710bfdb51a34c1dc32833..54466dc1d7924a35fcbb7a85771854e36be40d3a 100644
--- a/filepath.cabal
+++ b/filepath.cabal
@@ -1,4 +1,4 @@
-cabal-version:      2.2
+cabal-version:      3.0
 name:               filepath
 version:            1.4.200.1
 
@@ -125,6 +125,9 @@ library
     ghc-options:        -pgmPcpphs -optP--cpp
     build-tool-depends: cpphs:cpphs -any
 
+  -- IWKIM: for now
+  extra-dynamic-library-flavours: _p
+
 test-suite filepath-tests
   type:             exitcode-stdio-1.0
   main-is:          Test.hs