diff --git a/cldoc/tree.py b/cldoc/tree.py
index <HASH>..<HASH> 100644
--- a/cldoc/tree.py
+++ b/cldoc/tree.py
@@ -30,10 +30,15 @@ import os, sys, sets, re, glob, platform
 from ctypes.util import find_library
 
 if platform.system() == 'Darwin':
-    libclang = '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libclang.dylib'
-
-    if os.path.exists(libclang):
-        cindex.Config.set_library_path(os.path.dirname(libclang))
+    libclangs = [
+        '/Library/Developer/CommandLineTools/usr/lib/libclang.dylib',
+        '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libclang.dylib'
+    ]
+
+    for libclang in libclangs:
+        if os.path.exists(libclang):
+            cindex.Config.set_library_path(os.path.dirname(libclang))
+            break
 else:
     versions = [None, '3.5', '3.4', '3.3', '3.2']
Add search path for libclang on OS X