From deff9b91bed656fd54bd7fbb8a5c525eec5ab542 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 26 Jul 2016 22:36:58 +0300 Subject: Add DLL export/import support --- bpkg/buildfile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bpkg/buildfile') diff --git a/bpkg/buildfile b/bpkg/buildfile index b99d465..955e39d 100644 --- a/bpkg/buildfile +++ b/bpkg/buildfile @@ -12,8 +12,15 @@ lib{bpkg}: \ $libs cxx.poptions =+ -I$src_root + 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 -- cgit v1.1