when enableShared = false, we set --without-shared flag. (cherry picked from commit 53a67891ab)
53a67891ab
lib.warn
overrideScope'