diff options
Diffstat (limited to 'db2')
-rw-r--r-- | db2/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db2/Makefile b/db2/Makefile index fb25bb6..2d95bd7 100644 --- a/db2/Makefile +++ b/db2/Makefile @@ -110,3 +110,13 @@ endif # Depend on libc.so so a DT_NEEDED is generated in the shared objects. $(objpfx)libdb.so: $(common-objpfx)libc.so + +subdir_install: $(inst_libdir)/libndbm.a +$(inst_libdir)/libndbm.a: $(inst_libdir)/libdb.a + $(make-link) + +ifeq ($(build-shared),yes) +subdir_install: $(inst_libdir)/libndbm.so +$(inst_libdir)/libndbm.so: $(inst_libdir)/libdb.so + $(make-link) +endif |