windows: Link against psapi32

On some version GetModuleFileNameEx/GetModuleInformation is in psapi32 instead
of kernel32. We link to both libraries to make sure we have it.
This commit is contained in:
Martin Willi
2014-06-06 16:28:28 +02:00
parent 8c2c63e09d
commit 9c62511c08
+1 -1
View File
@@ -125,7 +125,7 @@ AM_LDFLAGS = \
AM_YFLAGS = -v -d
if USE_WINDOWS
libstrongswan_la_LIBADD += -lws2_32
libstrongswan_la_LIBADD += -lws2_32 -lpsapi
libstrongswan_la_SOURCES += \
threading/windows/thread.c \
threading/windows/thread_value.c \