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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user