View previous topic :: View next topic |
Author |
Message |
no usernames left n00b
Joined: 09 Feb 2003 Posts: 72
|
Posted: Mon Jun 16, 2003 3:47 pm Post subject: Libraries outside of ${D} |
|
|
OK, while trying to create an ebuild I ran into the following problem. The makefile (Makefile.am) lists some other libraries which should get linked with the new library, like this:
Code: | libFastTrack_la_LIBADD = \
$(prefix)/lib/libgift.la \
$(prefix)/lib/libgiftproto.la |
Unfortunately the ebuild fails at compile time because it searches in ${D}/usr/lib/ instead of /usr/lib/. Is there some way around this problem (or, if it's no problem at all, am I retarded)? _________________ [img:39112bbc59]http://www.gamers-portal.de/images/yay.gif[/img:39112bbc59] |
|
Back to top |
|
|
no usernames left n00b
Joined: 09 Feb 2003 Posts: 72
|
Posted: Wed Jun 18, 2003 2:24 pm Post subject: |
|
|
Bump _________________ [img:39112bbc59]http://www.gamers-portal.de/images/yay.gif[/img:39112bbc59] |
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Thu Jun 19, 2003 4:29 pm Post subject: |
|
|
I was hoping someone else would have a good answer so I wouldn't have to post this ugly kludge:
Code: | dosed "s:\$(prefix)::g" Makefile.am |
Or if you don't want to change all $(prefix) lines:
Code: | dosed "s:\$(prefix)/lib/libgift:/usr/lib/libgift:g" Makefile.am |
Maybe you can post your ebuild so we can find a more elegant solution. |
|
Back to top |
|
|
|