diff --git a/aegisub/src/audio_player_portaudio2.cpp b/aegisub/src/audio_player_portaudio2.cpp index 929aa7d18..7b4079616 100644 --- a/aegisub/src/audio_player_portaudio2.cpp +++ b/aegisub/src/audio_player_portaudio2.cpp @@ -47,13 +47,6 @@ #include "utils.h" -/////////// -// Library -#if __VISUALC__ >= 1200 -#pragma comment(lib,"portaudio.lib") -#endif - - ///////////////////// // Reference counter int PortAudioPlayer::pa_refcount = 0; diff --git a/aegisub/src/setup.cpp b/aegisub/src/setup.cpp index 2514ba57b..7ea6061b0 100644 --- a/aegisub/src/setup.cpp +++ b/aegisub/src/setup.cpp @@ -131,6 +131,9 @@ #pragma comment(lib, "ffms2.lib") #endif +#ifdef WITH_PORTAUDIO2 +#pragma comment(lib,"portaudio_x86.lib") +#endif ////////////// // DirectShow