Support for pkgconfig
---------------------

                 Key: MOJO-790
                 URL: http://jira.codehaus.org/browse/MOJO-790
             Project: Mojo
          Issue Type: Wish
          Components: native
         Environment: Unix/Linux, maybe Windows
            Reporter: Holger Hoffstätte


pkgconfig (http://pkgconfig.freedesktop.org/) is a handy tool for getting 
information about an installed library/package:

$pkg-config --cflags neon
-D_LARGEFILE64_SOURCE -DNE_LFS -I/usr/include/neon
$pkg-config --libs neon
-lneon -lz -lssl -lcrypto -ldl -lexpat

There is a patch for ant's cpp-tasks which I have been using with great success 
(http://sourceforge.net/tracker/index.php?func=detail&aid=1185069&group_id=36177&atid=416923)
 and it would be really cool if maven-native-plugin would offer the same 
functionality. Automatically extracting CFLAGS or libs to link is a godsend for 
installation on multiple platforms where dependencies or necessary #defines 
often vary for the same package.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to