aboutsummaryrefslogtreecommitdiff
path: root/bpkg/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/buildfile')
-rw-r--r--bpkg/buildfile6
1 files changed, 2 insertions, 4 deletions
diff --git a/bpkg/buildfile b/bpkg/buildfile
index f692910..a7ce32e 100644
--- a/bpkg/buildfile
+++ b/bpkg/buildfile
@@ -13,15 +13,13 @@ lib{bpkg}: \
$libs
cxx.poptions =+ -I$src_root
+obja{*}: cxx.poptions += -DLIBBPKG_STATIC_BUILD
+objs{*}: cxx.poptions += -DLIBBPKG_SHARED_BUILD
lib{bpkg}: cxx.export.poptions = -I$src_root
-
liba{bpkg}: cxx.export.poptions += -DLIBBPKG_STATIC
libs{bpkg}: cxx.export.poptions += -DLIBBPKG_SHARED
-obja{*}: cxx.poptions += -DLIBBPKG_STATIC_BUILD
-objs{*}: cxx.poptions += -DLIBBPKG_SHARED_BUILD
-
# Install into the bpkg/ subdirectory of, say, /usr/include/.
#
install.include = $install.include/bpkg