Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 03229be98..34dd3b8e4 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -5,14 +5,11 @@ CRIU_SO := libcriu.so
#
# C language bindings.
-c/%:
+c/%: ../Makefile.versions
$(call msg-gen, $@)
$(Q) $(MAKE) $(build)=c $@
-c/built-in.o:
- $(call msg-gen, $@)
- $(Q) $(MAKE) $(build)=c all
-cflags-so += $(CFLAGS) -rdynamic -Wl,-soname,$(lib-so).so.$(CRIU_SO_VERSION_MAJOR)
+cflags-so += $(CFLAGS) -rdynamic -Wl,-soname,$(CRIU_SO).$(CRIU_SO_VERSION_MAJOR)
ldflags-so += -lprotobuf-c
c/$(CRIU_SO): c/built-in.o
$(call msg-link, $@)