aboutsummaryrefslogtreecommitdiff
path: root/bpkg/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
commit8bdf75596de37b0e6d9e33fff27f2431af1175da (patch)
tree9a95d17f0d4a79ed62809e438340626b06f6e8d6 /bpkg/buildfile
parentdbbad54d8df13014a698196c6ff50acba4d4f093 (diff)
Minor fixes and cleanups
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