glib: fix inclusion
@@ -14,10 +14,10 @@ if (ENABLE_ASAN)
return ()
endif (ENABLE_ASAN)
-if (NOT ENABLE_SHARED)
+if (NOT BUILD_SHARED)
exclude_binding (glib "it can only be built if `BUILD_SHARED` is enabled")
return ()
-endif (NOT ENABLE_SHARED)
+endif (NOT BUILD_SHARED)
# Add binding
add_binding (glib)
