I don't know of anything that's supported out of the box, but you could use a bunch of if statements around @(TUP_PLATFORM) to set variables like $LIB_PREFIX and $LIB_SUFFIX which you can then use in your naming.
On Mon, Mar 27, 2017 at 11:54 AM Martin McDonough <[email protected]> wrote: > Is there a variable I can use to get the standard prefix and suffix for > libraries on the current platform? I'd like to generate shared libraries in > a cross-platform way with a single tupfile. > > Thanks. > > -- > -- > tup-users mailing list > email: [email protected] > unsubscribe: [email protected] > options: http://groups.google.com/group/tup-users?hl=en > --- > You received this message because you are subscribed to the Google Groups > "tup-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- tup-users mailing list email: [email protected] unsubscribe: [email protected] options: http://groups.google.com/group/tup-users?hl=en --- You received this message because you are subscribed to the Google Groups "tup-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
