Skip to content

Commit

Permalink
append '-Wl,-rpath' to CXXFLAGS for locating shared libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
zhyee committed Dec 28, 2023
1 parent d0446e4 commit 7ee84b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ ifeq ($(OS),Darwin)
endif
else
CFLAGS += -static
CXXFLAGS += -Wl,-z,defs -Wl,-rpath=/app/async-profiler/build
CXXFLAGS += -Wl,-z,defs -Wl,-rpath=/app/datakit-profiler/build -Wl,-rpath=/app/async-profiler/build
ifeq ($(MERGE),true)
CXXFLAGS += -fwhole-program
endif
Expand Down

0 comments on commit 7ee84b0

Please sign in to comment.