Hi Przemek,

On Tue, 22 Sep 2009, Szak�ts Viktor wrote:
writing it like this works ok
ifneq ($(filter $(HB_BUILD_STRIP),all lib),)
 ARSTRIP = ${HB_CCPATH}${HB_CCPREFIX}strip -S $(LIB_DIR)/$@
else
 ARSTRIP = @$(ECHO) did not strip $(LIB_DIR)/$@
endif
hm ;) can't we use something which doesn't produce any output?
I guess plain empty $(ECHO) will not work unless we redefine
it to GNU version.

What about removing ARSTRIP from create_library and using sth like:

  ifneq ($(filter $(HB_BUILD_STRIP),all lib),)
     ARSTRIP = & ${HB_CCPATH}${HB_CCPREFIX}strip -S $(LIB_DIR)/$@
  endif

  AR_RULE = $(create_library) $(ARSTRIP) & $(RM) __lib__.tmp

Would this work also with MS-DOS shells? (we have the same
problem there probably)

Brgds,
Viktor

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to