Skip to content

Commit bfc27e1

Browse files
committed
fix a vphysics crash due to it not being able to find certain functions
failed to dlopen vphysics.so error=/home/user/Projects/tf2_stuff/cloned/team-comtress-2/game/bin/vphysics.so: undefined symbol: __wrap_freopen
1 parent 3302ad4 commit bfc27e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tier1/pathmatch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ static bool s_bShowDiag;
7171

7272
#define WRAP( fn, ret, ... ) \
7373
ret __real_##fn(__VA_ARGS__); \
74-
ret __wrap_##fn(__VA_ARGS__)
74+
__attribute__((visibility("default"))) ret __wrap_##fn(__VA_ARGS__)
7575

7676
#define CALL( fn ) __real_##fn
7777

0 commit comments

Comments
 (0)