![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
native-maven-plugin-1.0-alpha-7 |
|
Assignee:
|
Unassigned |
|
Components:
|
native |
|
Created:
|
05/Sep/13 10:46 PM
|
|
Description:
|
Output option '-o' being generated without a space between the option and its value causes the link to fail on Mac with the following error:
[INFO] — native-maven-plugin:1.0-alpha-7:link (default-link) @ librdrandutil —
[INFO] /bin/sh -c cd /Users/hemant/dev/rdrand-util/lizalab-rdrand-util/lizalab-rdrand-util-native/mac && gcc -shared -L/Users/hemant/dev/rdrand-util/lizalab-rdrand-util/lizalab-rdrand-util-native/mac/target -lrdrand -o/Users/hemant/dev/rdrand-util/lizalab-rdrand-util/lizalab-rdrand-util-native/mac/target/librdrandutil.so target/objs/rdrandutil.o
ld: unknown option: -o/Users/hemant/dev/rdrand-util/lizalab-rdrand-util/lizalab-rdrand-util-native/mac/target/librdrandutil.so
Adding a switch between the option and its value works fine:
Hemant-Padmanabhans-MacBook-Pro:mac hemant$ gcc -shared -L/Users/hemant/dev/rdrand-util/lizalab-rdrand-util/lizalab-rdrand-util-native/mac/target -lrdrand -o /Users/hemant/dev/rdrand-util/lizalab-rdrand-util/lizalab-rdrand-util-native/mac/target/librdrandutil.so target/objs/rdrandutil.o
Hemant-Padmanabhans-MacBook-Pro:mac hemant$ ls target/
custom-javah lib librdrand.a librdrandutil.so objs
Specifying the output option with a space between the switch and the value is generally preferred and should work without issues on all platforms, can this please be fixed?
|
|
Environment:
|
Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500)
Java version: 1.7.0_25, vendor: Oracle Corporation
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
|
|
Project:
|
Mojo
|
|
Priority:
|
Major
|
|
Reporter:
|
Hemant Padmanabhan
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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