summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2012-06-08 12:30:33 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-06-08 13:13:23 +0200
commita095f4806e3b75c717a3b8b728c412443ab6d780 (patch)
tree5dd1f1a879a3466d4dd91b09135c5aa3c198585c /configure.ac
parent0cef8ba42b88132343306d1dca097f5cb61e493b (diff)
build-sys: statically build agent
Fix build by default when using mingw (when more compiler are supported we could do case by case) Since we are statically building, strip resulting binary (we also use lto, whole-program but that doesn't seem to change much..)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 597e724..0b5f498 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,6 +65,7 @@ dnl - Check library dependencies
dnl ---------------------------------------------------------------------------
PKG_CHECK_MODULES(CXIMAGE, [cximage])
+CXIMAGE_LIBS=`$PKG_CONFIG --static --libs cximage`
dnl ---------------------------------------------------------------------------
dnl - Makefiles, etc.