aboutsummaryrefslogtreecommitdiff
path: root/butl/buildfile
diff options
context:
space:
mode:
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