summaryrefslogtreecommitdiffstats
path: root/solenv
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-09-18 15:53:04 +0200
committerMichael Stahl <mstahl@redhat.com>2013-09-22 11:08:30 +0200
commit30fe6781ea25659426f2842c299db137304ee085 (patch)
tree2a5be1ab75a9792542ca64416be02b932c30c114 /solenv
parentgbuild: remove SOVERSION variable since it is hardcoded anyway (diff)
downloadcore-30fe6781ea25659426f2842c299db137304ee085.tar.gz
core-30fe6781ea25659426f2842c299db137304ee085.zip
Revert "fdo#51115: gb_Extension_add_file: fix Windows build:"
This actually should no longer be necessary since AUXTARGETS were fixed in 85b6a93cf41fb05e726027e34fcd805330e20414. This reverts commit e818f8fa1f79c2eb2d647678333b8d12599dda69.
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/Extension.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/solenv/gbuild/Extension.mk b/solenv/gbuild/Extension.mk
index 6fd22f842758..1f068848e131 100644
--- a/solenv/gbuild/Extension.mk
+++ b/solenv/gbuild/Extension.mk
@@ -137,16 +137,13 @@ endef
# adding a file creates a dependency to it
# file is copied to $(WORKDIR)
-# $(3) is the target of the copied file, and $(4) can be used to override that
-# with a different actual file, which is needed in gb_Extension_add_library
-# to make it work on Windows where the DLL doesn't have a gbuild target...
define gb_Extension_add_file
$(call gb_Extension_get_target,$(1)) : FILES += $(2)
$(call gb_Extension_get_target,$(1)) : $(call gb_Extension_get_rootdir,$(1))/$(2)
$(3) :| $(call gb_Extension__get_preparation_target,$(1))
$(call gb_Extension_get_rootdir,$(1))/$(2) : $(3)
mkdir -p $$(dir $$@) && \
- cp -f $(if $(4),$(4),$(3)) $$@
+ cp -f $(3) $$@
endef
@@ -164,7 +161,6 @@ endef
# add a library from the solver; DO NOT use gb_Library_get_target
define gb_Extension_add_library
$(call gb_Extension_add_file,$(1),$(call gb_Library_get_runtime_filename,$(2)),\
- $(call gb_Library_get_target,$(2)),\
$(gb_Helper_OUTDIRLIBDIR)/$(call gb_Library_get_runtime_filename,$(2)))
endef
@@ -177,7 +173,6 @@ endef
# add an executable from the solver
define gb_Extension_add_executable
$(call gb_Extension_add_file,$(1),$(notdir $(call gb_Executable_get_target,$(2))),\
- $(call gb_Executable_get_target,$(2)),\
$(call gb_Executable_get_target,$(2)))
endef