Skip to content

Commit c92110f

Browse files
committed
gh-xxxx: run BOLT instrumented binary with $(RUNSHARED)
This ensures `LD_LIBRARY_PATH` is set. Without this, I was able to tickle a libpythonX.Y.so not found error.
1 parent bfe7353 commit c92110f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ profile-bolt-instrument-stamp: profile-bolt-prebuild-stamp
735735
touch $@
736736

737737
profile-bolt-run-stamp: profile-bolt-instrument-stamp
738-
./$(BUILDPYTHON).bolt_inst $(PROFILE_TASK) || true
738+
$(RUNSHARED) ./$(BUILDPYTHON).bolt_inst $(PROFILE_TASK) || true
739739
touch $@
740740

741741
profile-bolt-analyze-stamp: profile-bolt-run-stamp

0 commit comments

Comments
 (0)