diff options
Diffstat (limited to 'lib.mk')
-rw-r--r-- | lib.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib.mk b/lib.mk index 8b109e2ce8da..aa92d8d94304 100644 --- a/lib.mk +++ b/lib.mk @@ -25,6 +25,16 @@ sysconfdir ?= $(prefix)/etc mandir ?= $(prefix)/share/man +# Initialise support for build directories. +builddir ?= + +ifdef builddir + buildprefix = $(builddir)/ +else + buildprefix = +endif + + # Pass -fPIC if we're building dynamic libraries. BUILD_SHARED_LIBS ?= 1 |