Changeset 8bdc1c36 for driver/cfa.cc


Ignore:
Timestamp:
Aug 20, 2018, 12:52:03 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
341bb80
Parents:
b215e92b
Message:

Now using rpath to handle shared libraries instead of LD_LIBRARY_PATH

File:
1 edited

Legend:

Unmodified
Added
Removed
  • driver/cfa.cc

    rb215e92b r8bdc1c36  
    416416                args[nargs] = ( *new string( string("-L" ) + libdir + (intree ? "/src/.libs" : "")) ).c_str();
    417417                nargs += 1;
     418                args[nargs] = ( *new string( string("-Wl,-rpath," ) + libdir + (intree ? "/src/.libs" : "")) ).c_str();
     419                nargs += 1;
    418420                args[nargs] = "-lcfa";
    419421                nargs += 1;
Note: See TracChangeset for help on using the changeset viewer.