diff --git a/pcsx2/Linux/LnxMain.c b/pcsx2/Linux/LnxMain.c index dfc86a84c4..405a00365f 100644 --- a/pcsx2/Linux/LnxMain.c +++ b/pcsx2/Linux/LnxMain.c @@ -486,11 +486,11 @@ void SysPrintf(const char *fmt, ...) { #endif #endif } -void *SysLoadLibrary(char *lib) { +void *SysLoadLibrary(const char *lib) { return dlopen(lib, RTLD_NOW); } -void *SysLoadSym(void *lib, char *sym) { +void *SysLoadSym(void *lib, const char *sym) { return dlsym(lib, sym); } diff --git a/pcsx2/Makefile.am b/pcsx2/Makefile.am index 24cd733dcc..deb8918ed9 100644 --- a/pcsx2/Makefile.am +++ b/pcsx2/Makefile.am @@ -10,7 +10,7 @@ CDVD.h Elfheader.h Memory.h PsxCounters.h R5900.h VU0micr CDVDiso.c FiFo.c Misc.c PsxDma.c Sif.c VU1micro.c \ CDVDisodrv.c FPU2.cpp PsxDma.h Sifcmd.h VUflags.c \ CDVDisodrv.h FPU.c MMI.c Sif.h VUflags.h \ -CDVDiso.h GS.cpp Patch.c Sio.c VU.h \ +CDVDiso.h GS.cpp PathUtils.c Patch.c Sio.c VU.h \ CDVDlib.h GS.h Patch.h PsxHw.c Sio.h VUmicro.h \ Common.h Hw.c Plugins.c PsxHw.h SPR.c VUops.c \ COP0.c Hw.h Plugins.h PsxInterpreter.c SPR.h VUops.h \