Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4444317

Browse files
committed
aix: Fix SHLIB_EXPORTS reference in VPATH builds
The dependencies here aren't quite right independent of vpath builds or not, but this at least makes vpath builds succeed. And it's pretty rare to change the exports.txt file anyway... The referenced thread has a patch that will clean that up further. Discussion: https://postgr.es/m/20220820174213.d574qde4ptwdzoqz@awork3.anarazel.de
1 parent 05bf551 commit 4444317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Makefile.shlib

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ $(shlib): $(OBJS) | $(SHLIB_PREREQS)
307307
ifeq (,$(SHLIB_EXPORTS))
308308
$(MKLDEXPORT) $(stlib) $(shlib) >$(exports_file)
309309
else
310-
( echo '#! $(shlib)'; $(AWK) '/^[^#]/ {printf "%s\n",$$1}' $(SHLIB_EXPORTS) ) >$(exports_file)
310+
( echo '#! $(shlib)'; $(AWK) '/^[^#]/ {printf "%s\n",$$1}' ${srcdir}/$(SHLIB_EXPORTS) ) >$(exports_file)
311311
endif
312312
$(COMPILER) -o $(shlib) $(stlib) -Wl,-bE:$(exports_file) $(LDFLAGS) $(LDFLAGS_SL) $(SHLIB_LINK)
313313
rm -f $(stlib)

0 commit comments

Comments
 (0)