Details
-
Type:
Wish
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Environment:Unix/Linux
-
Number of attachments :
Description
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.
sorry, wrong plugin
- see: MOJO-790