Skip to content

Commit 02418fd

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 c8759fd commit 02418fd

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
@@ -764,7 +764,7 @@ profile-bolt-instrument-stamp: profile-bolt-prebuild-stamp
764764
touch $@
765765

766766
profile-bolt-run-stamp: profile-bolt-instrument-stamp
767-
./$(BUILDPYTHON).bolt_inst $(PROFILE_TASK) || true
767+
$(RUNSHARED) ./$(BUILDPYTHON).bolt_inst $(PROFILE_TASK) || true
768768
touch $@
769769

770770
profile-bolt-analyze-stamp: profile-bolt-run-stamp

0 commit comments

Comments
 (0)