1 rpath = -Wl,-R'$(rpathdir)'
3 # extra stuff for $(with_temp_install)
4 # we need this to get LD_LIBRARY_PATH searched ahead of the compiled-in
5 # rpath, if no DT_RUNPATH is present in the executable. The conditions
6 # under which DT_RUNPATH are added seem unpredictable, so be safe.
8 define with_temp_install_extra
9 LD_LIBRARY_PATH_RPATH=1
12 # Rule for building a shared library from a single .o file
14 $(CC) $(CFLAGS) $< $(LDFLAGS) $(LDFLAGS_SL) -shared -o $@