diff --git a/edix/packages/gmsh-edix.scm b/edix/packages/gmsh-edix.scm
index 0ea901676e9073131fb66a0fef6126b0b14505ae..8e5ca20615606356d4dce209ac1071998aee2ca0 100644
--- a/edix/packages/gmsh-edix.scm
+++ b/edix/packages/gmsh-edix.scm
@@ -84,7 +84,27 @@
                                            "/lib/libgmsh.so")))
                (substitute* "api/gmsh.py"
                  (("find_library\\(\"gmsh\"\\)")
-                  (simple-format #f "\"~a\"" libgmsh)))))))))
+                  (simple-format #f "\"~a\"" libgmsh))))))
+(add-after 'install 'install-pkg-config
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (pc-file (string-append out "/lib/pkgconfig/gmsh.pc")))
+               (call-with-output-file pc-file
+                 (lambda (port)
+                   (format port "prefix=~a\n" out)
+                   (format port "exec_prefix=${prefix}\n")
+                   (format port "libdir=${exec_prefix}/lib\n")
+                   (format port "includedir=${prefix}/include\n\n")
+                   (format port "Name: Gmsh\n")
+                   (format port "Description: A three-dimensional finite element mesh generator\n")
+                   (format port "Version: 4.12.2\n")
+                   (format port "Libs: -L${libdir} -lgmsh\n")
+                   (format port "Cflags: -I${includedir}\n")))
+               #t)))))))  ;; 🔹 Génération dynamique de gmsh.pc
+
+
+
+	 )))
     (home-page "https://gmsh.info/")
     (synopsis "3D finite element grid generator")
     (description "Gmsh is a 3D finite element grid generator with a built-in