mirror of https://github.com/google/oss-fuzz.git
Use $ORIGIN in the rpath linker argument (#7904)
Use $ORIGIN in the rpath linker argument.
This commit is contained in:
parent
2b6572ecc5
commit
713eb55c66
|
@ -57,7 +57,7 @@ ruby gen_init_ruby_load_paths.rb > init_ruby_load_paths.h
|
|||
# The -rpath flag helps the dynamic linker to find .so files in /out/lib
|
||||
${CC} ${CFLAGS} fuzz_ruby_gems.c -o $OUT/fuzz_ruby_gems \
|
||||
-Wall \
|
||||
-Wl,-rpath,./lib \
|
||||
-Wl,-rpath,'$ORIGIN'/lib \
|
||||
-L${RUBY_LIB_DIR} \
|
||||
${RUBY_INCLUDES} \
|
||||
${RUBY_LIBRARIES} \
|
||||
|
|
Loading…
Reference in New Issue