Skip to content

Commit 0deaac8

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 40c28bb commit 0deaac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.pre.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ profile-bolt-instrument-stamp: profile-bolt-prebuild-stamp
762762
touch $@
763763

764764
profile-bolt-run-stamp: profile-bolt-instrument-stamp
765-
./$(BUILDPYTHON).bolt_inst $(PROFILE_TASK) || true
765+
$(RUNSHARED) ./$(BUILDPYTHON).bolt_inst $(PROFILE_TASK) || true
766766
touch $@
767767

768768
profile-bolt-analyze-stamp: profile-bolt-run-stamp

0 commit comments

Comments
 (0)