Add another _ENABLE_DYN_LINK_MAP conditional in parse_opts().
authorZac Medico <zmedico@gentoo.org>
Wed, 8 Sep 2010 01:57:26 +0000 (18:57 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 8 Sep 2010 01:57:26 +0000 (18:57 -0700)
pym/_emerge/main.py

index 062d79dad8a80385a047e1bd1cc18c8506d84f1e..57c7245bf3b428dc897082cf9270a303c8b4623c 100644 (file)
@@ -772,8 +772,9 @@ def parse_opts(tmpcmdline, silent=False):
        else:
                myoptions.complete_graph = None
 
-       if myoptions.depclean_lib_check in ("True",):
-               myoptions.depclean_lib_check = True
+       if _ENABLE_DYN_LINK_MAP:
+               if myoptions.depclean_lib_check in ("True",):
+                       myoptions.depclean_lib_check = True
 
        if myoptions.exclude:
                exclude = []