summaryrefslogtreecommitdiff
path: root/source3/samba4-templates.mk
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-03 16:10:52 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-03 16:31:02 +0100
commitadc9d105cdce4500d16f86b39401ae3aa3b0cacd (patch)
tree6450eb1ba640fa9522e61c23178700c302a23510 /source3/samba4-templates.mk
parentc3ab29265546a56377a22ddc67701871ea41262c (diff)
downloadsamba-adc9d105cdce4500d16f86b39401ae3aa3b0cacd.tar.gz
samba-adc9d105cdce4500d16f86b39401ae3aa3b0cacd.tar.bz2
samba-adc9d105cdce4500d16f86b39401ae3aa3b0cacd.zip
merged-build: link in LIBREPLACE into samba4 code as in the native build
metze
Diffstat (limited to 'source3/samba4-templates.mk')
-rw-r--r--source3/samba4-templates.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/samba4-templates.mk b/source3/samba4-templates.mk
index ecebce6d1d..0024a7531f 100644
--- a/source3/samba4-templates.mk
+++ b/source3/samba4-templates.mk
@@ -19,9 +19,9 @@ endef
# Link a binary
# Arguments: target file, depends, flags
define binary_link_template
-$(1)4: $(2) $(LIBREPLACE_OBJ) ;
+$(1)4: $(2) ;
@echo Linking $$@
- @$$(BNLD) $$(BNLD_FLAGS) $$(INTERN_LDFLAGS) -o $$@ $$(INSTALL_LINK_FLAGS) $(3) $$(LIBS) $$(LIBREPLACE_OBJ)
+ @$$(BNLD) $$(BNLD_FLAGS) $$(INTERN_LDFLAGS) -o $$@ $$(INSTALL_LINK_FLAGS) $(3) $$(LIBS)
clean::
@rm -f $(1)
@@ -32,9 +32,9 @@ endef
# Link a host-machine binary
# Arguments: target file, depends, flags
define host_binary_link_template
-$(1)4: $(2) $(LIBREPLACE_OBJ) ;
+$(1)4: $(2) ;
@echo Linking $$@
- @$$(HOSTLD) $$(HOSTLD_FLAGS) -L$${builddir}/bin/static -o $$@ $$(INSTALL_LINK_FLAGS) $(3) $$(LIBREPLACE_OBJ)
+ @$$(HOSTLD) $$(HOSTLD_FLAGS) -L$${builddir}/bin/static -o $$@ $$(INSTALL_LINK_FLAGS) $(3)
clean::
rm -f $(1)