summaryrefslogtreecommitdiff
path: root/bsdiff.cc
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2017-03-02 16:10:41 -0800
committerAlex Deymo <deymo@google.com>2017-05-03 18:29:10 -0700
commitddf9db52938e67d4dcbf7c4f159b094eaddbabeb (patch)
tree07a1e5f4ca7d47b4412bac6c443ea756276caf7d /bsdiff.cc
parentb9fa8599064d10afd8c231155500f0b8e934d71f (diff)
downloadbsdiff-ddf9db52938e67d4dcbf7c4f159b094eaddbabeb.tar.gz
Update Makefile to build shared libraries.
The Makefile didn't build libbspatch and libbsdiff. This patch includes those libraries in the Makefile and moves the header files exposed by those to an include/bsdiff subdirectory following the Android convention so calling program can include "bsdiff/bspatch.h" avoiding any collision with other libraries. The Android.mk is updated to export the new include path while keeping the old style until calling programs are updated. The new Makefile allows Chromium OS to build the new libraries. Bug: None Test: FEATURES=test emerge-link bsdiff; sudo emerge bsdiff Test: mmma external/bsdiff Change-Id: I2ea9251eb224e9418fe236e4c4c9c5621853f590
Diffstat (limited to 'bsdiff.cc')
-rw-r--r--bsdiff.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsdiff.cc b/bsdiff.cc
index cb2ca7c..854c882 100644
--- a/bsdiff.cc
+++ b/bsdiff.cc
@@ -28,7 +28,7 @@
__FBSDID("$FreeBSD: src/usr.bin/bsdiff/bsdiff/bsdiff.c,v 1.1 2005/08/06 01:59:05 cperciva Exp $");
#endif
-#include "bsdiff.h"
+#include "bsdiff/bsdiff.h"
#include <sys/types.h>