Permalink
Browse files

Allow DSOs to have library links as well as executables

  • Loading branch information...
1 parent d0547e2 commit 8650ea579471101a6a865eca25eb803dd3f7609e @spb committed Jun 24, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 targets/dso.mk
View
@@ -15,6 +15,8 @@ $(_BS_BUILD_TARGET_$(1)): $(_BS_OBJECTS_$(1)) | $(call dirname,$(_BS_BUILD_TARGE
@rm -f $$@
$(CXX) -shared -o $$@ \
$(call expand-target-variable,$(1),LDFLAGS) \
+ -L$(BUILDDIR)/$(LIBDIR) \
+ $(call expand-target-dependencies,$(1)) \
$(_BS_OBJECTS_$(1))
endef

0 comments on commit 8650ea5

Please sign in to comment.