Skip to content
This repository has been archived by the owner on Aug 25, 2019. It is now read-only.

Share object files between targets is wrong! #8

Closed
hugopl opened this issue Dec 13, 2012 · 1 comment
Closed

Share object files between targets is wrong! #8

hugopl opened this issue Dec 13, 2012 · 1 comment
Assignees
Labels

Comments

@hugopl
Copy link
Owner

hugopl commented Dec 13, 2012

e.g.:
in meique.lua

  • A executable target with main.cpp and foo.cpp

in lib/meique.lua

  • A shared library target with bar.cpp and ../foo.cpp

Meique will use the same build/foo.cpp.o on both target and the link will fail because foo.cpp wasn't compiled with -fPIC or -fpic.

@ghost ghost assigned hugopl Jan 22, 2013
@hugopl
Copy link
Owner Author

hugopl commented Jan 22, 2013

Fixed in commit 17e2c11

@hugopl hugopl closed this as completed Jan 22, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant