Merge "applypatch: add -fPIC for libimgpatch in Chrome OS."
am: 5593342575
* commit '5593342575323f5f10e7af669871627e4ada8c7b':
applypatch: add -fPIC for libimgpatch in Chrome OS.
diff --git a/applypatch/Makefile b/applypatch/Makefile
index fa6298d..de6d426 100644
--- a/applypatch/Makefile
+++ b/applypatch/Makefile
@@ -28,5 +28,6 @@
imgdiff: imgdiff.o bsdiff.o utils.o
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDLIBS) -o $@ $^
+libimgpatch.a utils.o: CXXFLAGS += -fPIC
libimgpatch.a: imgpatch.o bspatch.o utils.o
${AR} rcs $@ $^