Index: libopencsd-0.8.1/decoder/build/linux/makefile
===================================================================
--- libopencsd-0.8.1.orig/decoder/build/linux/makefile
+++ libopencsd-0.8.1/decoder/build/linux/makefile
@@ -138,6 +138,8 @@ install: libs
 	mkdir -p $(INSTALL_LIB_DIR) $(INSTALL_INCLUDE_DIR)
 	$(INSTALL) --mode=644 $(LIB_TARGET_DIR)/lib$(LIB_BASE_NAME).so $(INSTALL_LIB_DIR)/
 	$(INSTALL) --mode=644 $(LIB_TARGET_DIR)/lib$(LIB_CAPI_NAME).so $(INSTALL_LIB_DIR)/
+	$(INSTALL) --mode=644 $(LIB_TARGET_DIR)/lib$(LIB_BASE_NAME).a $(INSTALL_LIB_DIR)/
+	$(INSTALL) --mode=644 $(LIB_TARGET_DIR)/lib$(LIB_CAPI_NAME).a $(INSTALL_LIB_DIR)/
 	cd $(OCSD_ROOT)/build/linux/rctdl_c_api_lib && make install_inc
 
 ################################
@@ -194,6 +196,6 @@ clean_tests:
 	cd $(OCSD_ROOT)/tests/build/linux/c_api_pkt_print_test && make clean
 
 clean_install:
-	rm -f $(INSTALL_LIB_DIR)/lib$(LIB_BASE_NAME).so
-	rm -f $(INSTALL_LIB_DIR)/lib$(LIB_CAPI_NAME).so
+	rm -f $(INSTALL_LIB_DIR)/lib$(LIB_BASE_NAME).{so,a}
+	rm -f $(INSTALL_LIB_DIR)/lib$(LIB_CAPI_NAME).{so,a}
 	rm -rf $(INSTALL_INCLUDE_DIR)/$(LIB_UAPI_INC_DIR)
