Post build copy of shared object problem

bridged with qnx.development_tools
Post Reply
Richard Doucet

Post build copy of shared object problem

Post by Richard Doucet » Fri Dec 03, 2004 3:16 pm

When trying to copy shared object after a build, the static library is being
copied as well . The following is added in the case of shared object to the
common.mk file:
-@$(CP_HOST) $(BUILDNAME) $(ACCISLIB)

This works properly when I select copying the static library; the follwing
is added to common.mk:
-$(if $(filter AR, $(BUILD_TYPE)), @$(CP_HOST) $(BUILDNAME) $(ACCISLIB))

I've fixed this manually by using a construct similar to the static library
copy macro:
-$(if $(filter SO, $(BUILD_TYPE)), @$(CP_HOST) $(BUILDNAME) $(ACCISLIB))

Just letting you know.

Post Reply

Return to “qnx.development_tools”