[csw-users] how to depend on libsunmath?

Ben Taylor Ben.Taylor at Sun.COM
Tue Oct 9 15:45:41 CEST 2007


Ben Taylor wrote:

>Klaus Heinz wrote:
>
>  
>
>>Hi,
>>
>>as of subversion revision 1649 I do not see a way to depend on libsunmath
>>in the package Makefile (ie, with DEPEND. Or should that be LIBDEPS?).
>>Did I miss anything?
>> 
>>
>>    
>>
>I have had to use libsunmath with a package before.  here is some 
>snippets from a Makefile
>
>LIBS+=-lsunmath
>LDFLAGS+=-L/opt/SUNWspro/prod/lib -R/opt/SUNWspro/prod/lib
>CFLAGS+=-I/opt/SUNWspro/prod/include/cc
>
>However, it is probably advised to create a blastwave package with the 
>shared library
>version of libsunmath in the /opt/csw/lib tree, so the above settings do 
>not expect a
>user to have the Studio compilers installed.
>
>  
>
And I forgot to mention that the shared library version of libsunmath is 
distributeable.

>IE, LDFLAGS would look like
>
>LDFLAGS+=-L/opt/csw/lib -R/opt/csw/lib
>
>Hope this helps.
>
>Ben
>_______________________________________________
>users mailing list
>users at lists.blastwave.org
>https://lists.blastwave.org/mailman/listinfo/users
>  
>




More information about the users mailing list