--- setup.py.orig	2025-09-22 17:47:37
+++ setup.py	2025-09-22 18:02:37
@@ -255,10 +255,9 @@
         # They are binary compatible and may not safely coexist in a process, as
         # libiomp5 is more prevalent and often linked in for NumPy it is used
         # here!
-        ompcompileflags = ['-fopenmp']
+        ompcompileflags = ['-L__OPENMP_LIB__', '-fopenmp']
         omplinkflags = ['-fopenmp=libiomp5']
-        omppath = ['lib', 'clang', '*', 'include', 'omp.h']
-        have_openmp = check_file_at_path(omppath)
+        have_openmp = '__OPENMP_INC__'
     else:
         cpp11flags = ['-std=c++11']
         ompcompileflags = ['-fopenmp']
