mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 23:34:08 +00:00
libobs, win-capture: Don't export ms_get_obfuscated_func
Since this was included in things like the inject helper and game capture DLLs, it added an additional export to those programs. Instead, simply share the source files directly in the projects that need it. Co-authored-by: jpark37 <jpark37@users.noreply.github.com>
This commit is contained in:
parent
61e0d69779
commit
86963f65d2
|
@ -9,8 +9,7 @@ extern "C" {
|
|||
|
||||
/* this is a workaround to A/Vs going crazy whenever certain functions (such as
|
||||
* OpenProcess) are used */
|
||||
EXPORT void *ms_get_obfuscated_func(HMODULE module, const char *str,
|
||||
uint64_t val);
|
||||
void *ms_get_obfuscated_func(HMODULE module, const char *str, uint64_t val);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -24,7 +24,9 @@ target_sources(
|
|||
monitor-capture.c
|
||||
nt-stuff.c
|
||||
nt-stuff.h
|
||||
window-capture.c)
|
||||
window-capture.c
|
||||
../../../libobs/util/windows/obfuscate.c
|
||||
../../../libobs/util/windows/obfuscate.h)
|
||||
|
||||
target_link_libraries(win-capture PRIVATE OBS::libobs OBS::ipc-util)
|
||||
|
||||
|
|
Loading…
Reference in a new issue