Install libmoonshot import lib on windows
authorKevin Wasserman <krwasserman@painless-security.com>
Sun, 1 Mar 2015 16:08:42 +0000 (11:08 -0500)
committerKevin Wasserman <krwasserman@hotmail.com>
Wed, 4 Mar 2015 17:19:36 +0000 (12:19 -0500)
Makefile.am

index 21382e8..e26efd6 100644 (file)
@@ -84,7 +84,9 @@ src_moonshot_webp_CFLAGS = -mconsole
 AM_CPPFLAGS += -DOS_WIN32
 AM_VALAFLAGS += --define=OS_WIN32
 
-noinst_DATA = libmoonshot/libmoonshot.lib
+# this is a gross hack to install the libmoonshot import lib in ${libdir}
+libmoonshotlibdir=${libdir}
+libmoonshotlib_DATA = libmoonshot/libmoonshot.lib
 
 # Build the MSVC lib. The sed hack fixes execution in the case that
 # the MSVC toolchain isn't in the PATH.