Changeset 4808


Ignore:
Timestamp:
Apr 17, 2012, 1:02:35 AM (8 years ago)
Author:
Sam Hocevar
Message:

osx: do not enforce flat namespace in copy mode on OS X.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/myfork.c

    r4674 r4808  
    151151#       define EXTRAINFO ""
    152152#       define PRELOAD "DYLD_INSERT_LIBRARIES"
    153     setenv("DYLD_FORCE_FLAT_NAMESPACE", "1", 1);
     153    /* Only enforce flat namespace in preload mode */
     154    if (opts->opmode == OPMODE_PRELOAD)
     155        setenv("DYLD_FORCE_FLAT_NAMESPACE", "1", 1);
    154156#   elif defined __osf__
    155157#       define EXTRAINFO ":DEFAULT"
Note: See TracChangeset for help on using the changeset viewer.