summaryrefslogtreecommitdiff
path: root/codec/Makefile.am
diff options
context:
space:
mode:
authorWinfried <szukw000@arcor.de>2010-12-10 04:27:40 +0000
committerWinfried <szukw000@arcor.de>2010-12-10 04:27:40 +0000
commit436d2f4bb96e20ce8c565c0d610e588a166499de (patch)
tree7df4f581f15e5d63f4fef30fad657c24bd8d1302 /codec/Makefile.am
parent0264197f3f6d0946fa429758fb6ad70bf504ea95 (diff)
Changed build choice in configure.ac/Makefile.am/Makefile.nix: shared xor static
Diffstat (limited to 'codec/Makefile.am')
-rw-r--r--codec/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/codec/Makefile.am b/codec/Makefile.am
index 5db41850..f856a5fa 100644
--- a/codec/Makefile.am
+++ b/codec/Makefile.am
@@ -1,4 +1,9 @@
-COMPILERFLAGS = -Wall -static
+COMPILERFLAGS = -Wall
+
+if with_staticlibs
+COMPILERFLAGS += -static
+endif
+
USERLIBS = -lm
INCLUDES = -I.. -I. -I../libopenjpeg -I../common