diff --git a/libdm/make.tmpl.in b/libdm/make.tmpl.in index 1b68ea26b..2dd9625d4 100644 --- a/libdm/make.tmpl.in +++ b/libdm/make.tmpl.in @@ -318,12 +318,10 @@ SUBDIRS.cflow := $(SUBDIRS:=.cflow) SUBDIRS.clean := $(SUBDIRS:=.clean) SUBDIRS.distclean := $(SUBDIRS:=.distclean) +TARGETS += $(LIB_STATIC) ifeq ("@SHARED_LINK@", "yes") TARGETS += $(LIB_SHARED) endif -ifeq ("@STATIC_LINK@", "yes") - TARGETS += $(LIB_STATIC) -endif all: $(SUBDIRS) $(TARGETS) diff --git a/make.tmpl.in b/make.tmpl.in index 459bc4624..28399bd69 100644 --- a/make.tmpl.in +++ b/make.tmpl.in @@ -373,12 +373,10 @@ SUBDIRS.cflow := $(SUBDIRS:=.cflow) SUBDIRS.clean := $(SUBDIRS:=.clean) SUBDIRS.distclean := $(SUBDIRS:=.distclean) +TARGETS += $(LIB_STATIC) ifeq ("@SHARED_LINK@", "yes") TARGETS += $(LIB_SHARED) endif -ifeq ("@STATIC_LINK@", "yes") - TARGETS += $(LIB_STATIC) -endif INTERNAL_LIBS = \ $(top_builddir)/libdaemon/client/libdaemonclient.a \