Skip to content

Commit 4a0c9d2

Browse files
committed
fixed:rocky linux running path
1 parent e20bad9 commit 4a0c9d2

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

XEngine_Source/XEngine_ServiceApp/XEngine_CenterApp/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ifeq ($(PLATFORM),linux)
3838
PLATVER = -D __UBUNTU__
3939
endif
4040
LIBEX = -lpthread -lrt -ldl
41-
LOADBIN = -Wl,-rpath=./,--disable-new-dtags
41+
LOADBIN = -Wl,-rpath=./:/usr/local/lib,--disable-new-dtags
4242
else ifeq ($(PLATFORM),mac)
4343
CC += -Wno-deprecated-declarations
4444
PLATVER = -D __MACOS__

XEngine_Source/XEngine_ServiceApp/XEngine_HTTP2App/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ifeq ($(PLATFORM),linux)
3838
PLATVER = -D __UBUNTU__
3939
endif
4040
LIBEX = -lpthread -lrt -ldl
41-
LOADBIN = -Wl,-rpath=./,--disable-new-dtags
41+
LOADBIN = -Wl,-rpath=./:/usr/local/lib,--disable-new-dtags
4242
else ifeq ($(PLATFORM),mac)
4343
CC += -Wno-deprecated-declarations
4444
PLATVER = -D __MACOS__

XEngine_Source/XEngine_ServiceApp/XEngine_HttpApp/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ifeq ($(PLATFORM),linux)
3838
PLATVER = -D __UBUNTU__
3939
endif
4040
LIBEX = -lpthread -lrt -ldl
41-
LOADBIN = -Wl,-rpath=./,--disable-new-dtags
41+
LOADBIN = -Wl,-rpath=./:/usr/local/lib,--disable-new-dtags
4242
else ifeq ($(PLATFORM),mac)
4343
CC += -Wno-deprecated-declarations
4444
PLATVER = -D __MACOS__

XEngine_Source/XEngine_ServiceApp/XEngine_SimpleApp/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ ifeq ($(PLATFORM),linux)
3535
PLATVER = -D __UBUNTU__
3636
endif
3737
LIBEX = -lpthread -lrt -ldl
38-
LOADBIN = -Wl,-rpath=./,--disable-new-dtags
38+
LOADBIN = -Wl,-rpath=./:/usr/local/lib,--disable-new-dtags
3939
else ifeq ($(PLATFORM),mac)
4040
CC += -Wno-deprecated-declarations
4141
PLATVER = -D __MACOS__

XEngine_Source/XEngine_ServiceApp/XEngine_WebSocketApp/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ifeq ($(PLATFORM),linux)
3838
PLATVER = -D __UBUNTU__
3939
endif
4040
LIBEX = -lpthread -lrt -ldl
41-
LOADBIN = -Wl,-rpath=./,--disable-new-dtags
41+
LOADBIN = -Wl,-rpath=./:/usr/local/lib,--disable-new-dtags
4242
else ifeq ($(PLATFORM),mac)
4343
CC += -Wno-deprecated-declarations
4444
PLATVER = -D __MACOS__

0 commit comments

Comments
 (0)