Skip to content

Commit 2eef208

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 2821eb2 commit 2eef208

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
@@ -738,7 +738,7 @@ profile-bolt-instrument-stamp: profile-bolt-prebuild-stamp
738738
touch $@
739739

740740
profile-bolt-run-stamp: profile-bolt-instrument-stamp
741-
./$(BUILDPYTHON).bolt_inst $(PROFILE_TASK) || true
741+
$(RUNSHARED) ./$(BUILDPYTHON).bolt_inst $(PROFILE_TASK) || true
742742
touch $@
743743

744744
profile-bolt-analyze-stamp: profile-bolt-run-stamp

0 commit comments

Comments
 (0)