aboutsummaryrefslogtreecommitdiff
path: root/butl/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-22 16:21:14 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-22 16:21:14 +0200
commitbac0750048650cc2d28b39461ef9d80f439ab94b (patch)
tree09bf5dac81b899c76fd858815d8edca1d41437de /butl/buildfile
parent4d79758a845d3cd64f0153d60abb88d3ae4c2a68 (diff)
Minor fixes and cleanups
Diffstat (limited to 'butl/buildfile')
-rw-r--r--butl/buildfile6
1 files changed, 2 insertions, 4 deletions
diff --git a/butl/buildfile b/butl/buildfile
index d4f3289..867f2c9 100644
--- a/butl/buildfile
+++ b/butl/buildfile
@@ -36,15 +36,13 @@ lib{butl}: file{sha256c.c}
lib{butl}: file{strptime.c timelocal.h timelocal.c}
cxx.poptions =+ -I$src_root
+obja{*}: cxx.poptions += -DLIBBUTL_STATIC_BUILD
+objs{*}: cxx.poptions += -DLIBBUTL_SHARED_BUILD
lib{butl}: cxx.export.poptions = -I$src_root
-
liba{butl}: cxx.export.poptions += -DLIBBUTL_STATIC
libs{butl}: cxx.export.poptions += -DLIBBUTL_SHARED
-obja{*}: cxx.poptions += -DLIBBUTL_STATIC_BUILD
-objs{*}: cxx.poptions += -DLIBBUTL_SHARED_BUILD
-
# Install into the butl/ subdirectory of, say, /usr/include/.
#
install.include = $install.include/butl