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