mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-17 04:18:06 +00:00
code format
This commit is contained in:
@ -846,8 +846,8 @@ static void edit_params(u32 argc, char **argv, char **envp) {
|
|||||||
// e.g. compiled download or compiled from github then its ./lib directory
|
// e.g. compiled download or compiled from github then its ./lib directory
|
||||||
// might not be in the search path. Add it if so.
|
// might not be in the search path. Add it if so.
|
||||||
u8 *libdir = strdup(LLVM_LIBDIR);
|
u8 *libdir = strdup(LLVM_LIBDIR);
|
||||||
if (plusplus_mode && strlen(libdir) &&
|
if (plusplus_mode && strlen(libdir) && strncmp(libdir, "/usr", 4) &&
|
||||||
strncmp(libdir, "/usr", 4) && strncmp(libdir, "/lib", 4)) {
|
strncmp(libdir, "/lib", 4)) {
|
||||||
|
|
||||||
cc_params[cc_par_cnt++] = "-rpath";
|
cc_params[cc_par_cnt++] = "-rpath";
|
||||||
cc_params[cc_par_cnt++] = libdir;
|
cc_params[cc_par_cnt++] = libdir;
|
||||||
|
Reference in New Issue
Block a user