Permalink
Browse files

remove DSOs before relinking

  • Loading branch information...
1 parent f4c5606 commit 71f6f10c02b24d1de5e4249299794064332e22f6 @spb committed Jun 19, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 targets/dso.mk
View
@@ -10,6 +10,7 @@ _BS_EXTRA_TARGET_SETTINGS_DSO = LIBRARY_NAME_$(1)/$(2) = $(2)
define _BS_TARGET_RULE_DSO
$(_BS_BUILD_TARGET_$(1)): $(_BS_OBJECTS_$(1)) | $(call dirname,$(_BS_BUILD_TARGET_$(1)))
+ @rm -f $$@
$(CXX) -shared -o $$@ \
$(call expand-target-variable,$(1),LDFLAGS) \
$(_BS_OBJECTS_$(1))

0 comments on commit 71f6f10

Please sign in to comment.