jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Maven 1.x Native Plugin
  • Maven 1.x Native Plugin
  • MPNATIVE-22

Support for pkgconfig

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Wish Wish
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: None
  • Fix Version/s: None
  • Labels:
    None
  • Environment:
    Unix/Linux
  • Number of attachments :
    0

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.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Holger Hoffstätte added a comment - 09/May/07 11:39 AM

sorry, wrong plugin - see: MOJO-790

Show
Holger Hoffstätte added a comment - 09/May/07 11:39 AM sorry, wrong plugin - see: MOJO-790

People

  • Assignee:
    Unassigned
    Reporter:
    Holger Hoffstätte
Vote (1)
Watch (2)

Dates

  • Created:
    08/May/07 9:37 AM
    Updated:
    09/May/07 11:39 AM
    Resolved:
    09/May/07 11:39 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.