From ee46d2fe203fbba9122835655d479abf1ceb0450 Mon Sep 17 00:00:00 2001 From: /dev/urandom Date: Fri, 26 Aug 2016 21:38:13 +0200 Subject: [PATCH] Premake: Fix missing links for BitMRC and Crypto++. --- premake/bitmrc.lua | 6 +++++- premake/libcryptopp.lua | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/premake/bitmrc.lua b/premake/bitmrc.lua index 758c8457..3608710a 100644 --- a/premake/bitmrc.lua +++ b/premake/bitmrc.lua @@ -13,10 +13,14 @@ function bitmrc.import() sqlite3.import() libcryptopp.import() - + bitmrc.links() bitmrc.includes() end +function bitmrc.links() + links { "bitmrc" } +end + function bitmrc.includes() if not bitmrc.settings then error("Run bitmrc.setup first") end diff --git a/premake/libcryptopp.lua b/premake/libcryptopp.lua index a003ca24..d0a05021 100644 --- a/premake/libcryptopp.lua +++ b/premake/libcryptopp.lua @@ -11,9 +11,14 @@ end function libcryptopp.import() if not libcryptopp.settings then error("Run libcryptopp.setup first") end + libcryptopp.links() libcryptopp.includes() end +function libcryptopp.links() + links { "libcryptopp" } +end + function libcryptopp.includes() if not libcryptopp.settings then error("Run libcryptopp.setup first") end