diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
 # Revision history for cabal-appimage
 
+## 0.4.2.0 -- 2025-11-18
+
+* Proper check on Cabal version.
+
+
 ## 0.4.1.0 -- 2025-01-12
 
 * Build with GHC 9.12.
diff --git a/cabal-appimage.cabal b/cabal-appimage.cabal
--- a/cabal-appimage.cabal
+++ b/cabal-appimage.cabal
@@ -1,6 +1,6 @@
 cabal-version:       2.0
 name:                cabal-appimage
-version:             0.4.1.0
+version:             0.4.2.0
 synopsis:            Cabal support for creating AppImage applications
 description:         This package provides a build hook automating the
                      creation of AppImage bundles.
@@ -18,7 +18,7 @@
 library
   exposed-modules:     Distribution.AppImage
   build-depends:       base >=4.11.0.0 && <4.22,
-                       Cabal >=2.4.1.0 && <3.15,
+                       Cabal >=2.4.1.0 && <3.17,
                        filepath >=1.4.2.1 && <1.6
   hs-source-dirs:      src
   default-language:    Haskell2010
diff --git a/src/Distribution/AppImage.hs b/src/Distribution/AppImage.hs
--- a/src/Distribution/AppImage.hs
+++ b/src/Distribution/AppImage.hs
@@ -79,7 +79,7 @@
 
 makeBundle :: Args -> BuildFlags -> PackageDescription -> LocalBuildInfo -> AppImage -> IO ()
 makeBundle args flags pkg buildInfo app@AppImage{..} = do
-#if MIN_VERSION_GLASGOW_HASKELL(9,12,0,0)
+#if MIN_VERSION_Cabal(3,14,0)
   let bdir = interpretSymbolicPathLBI buildInfo (buildDir buildInfo)
 #else
   let bdir = buildDir buildInfo
