From 00684f0b3d1d644da69b3237b8e5de89588c1a33 Mon Sep 17 00:00:00 2001 From: adustman Date: Sat, 29 Sep 2001 15:40:27 +0000 Subject: [PATCH] Catch more Linux platforms in the config. --- MySQLdb/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MySQLdb/setup.py b/MySQLdb/setup.py index b5eb3cb..a4b5e0a 100644 --- a/MySQLdb/setup.py +++ b/MySQLdb/setup.py @@ -18,7 +18,7 @@ thread_safe_library = NO mysqlclient = thread_safe_library and "mysqlclient_r" or "mysqlclient" -if sys.platform == "linux-i386": # Red Hat +if sys.platform in ("linux-i386", "linux2"): # most Linux include_dirs = ['/usr/include/mysql'] library_dirs = ['/usr/lib/mysql'] libraries = [mysqlclient, "z"]