As you see, the ".8" is removed from the libnames.
Hello Viktor,
Seems that enclosing the parameter inside of "" is required, so
changing the above command to:
$ hbmk2 -cflag=`wx-config --cflags` -ldflag="`wx-config --libs`" ...
(intentionally reduced) test.prg
Makes the thing work ok as it's expected.
However, something that is source of little confusing is that in
the .hbc file the ldflag parameter is in the form:
ldflags={unix&gcc}"`wx-config --libs`"
and the command line help from hbmk2 states that "-ldflag" (without
the final "s" ) is required, so if you enter:
-ldflag="`wx-config --libs`"
you get the parameter ignored.
I have the impression that "-ldflags" and "-cflags" are more natural
than "-ldflag" and "-cflag"
.hbc format allows to pass multiple arguments to all options
(including *flags=), hence the different name.
Brgds,
Viktor
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour