--- a/meson.build	2025-09-13 06:47:02.346349776 -0400
+++ b/meson.build	2025-09-13 06:48:44.558507715 -0400
@@ -137,26 +137,8 @@
 
 intltool_merge = find_program('intltool-merge')
 
-mathjax_directory = get_option('mathjax-directory')
-if mathjax_directory == ''
-    foreach dir: [
-        # Arch Linux
-        '/usr/share/mathjax',
-        # Debian
-        '/usr/share/javascript/mathjax'
-        ]
-        if run_command('test', ['-f', join_paths(dir, 'MathJax.js')]).returncode() == 0
-            mathjax_directory = dir
-            # break would require meson_version >= 0.49.0 so just let the last one win
-        endif
-    endforeach
-endif
-
-if mathjax_directory != ''
-    xreader_conf.set_quoted('MATHJAX_DIRECTORY', mathjax_directory)
-elif get_option('epub')
-    error('"mathjax-directory" is undefined and could not be autodetected')
-endif
+mathjax_directory = '/usr/share/mathjax'
+xreader_conf.set_quoted('MATHJAX_DIRECTORY', mathjax_directory)
 
 # generate config.h
 config_h_file = configure_file(
