2 ifeq ($(with_gnu_ld), yes)
3 export_dynamic = -Wl,-E
5 export_dynamic = -Wl,-Bexport
8 ifeq ($(ld_R_works), yes)
9 ifeq ($(with_gnu_ld), yes)
10 rpath = -Wl,-rpath,'$(rpathdir)'
12 rpath = -Wl,-R'$(rpathdir)'
29 $(CC) $(SO_FLAGS) -o $@ $<
33 # Unixware needs threads for everything that uses libpq
34 CFLAGS += $(PTHREAD_CFLAGS)