Issue22907
Created on 2014年11月20日 13:00 by peko, last changed 2022年04月11日 14:58 by admin.
| Messages (1) |
|
msg231427 - (view) |
Author: Peter Korsgaard (peko) |
Date: 2014年11月20日 13:00 |
The build/real prefix handling using sed breaks if build != real and the
standard include / lib directories are used ($prefix/include and $prefix/lib).
E.G.
prefix_build="/usr", libdir="$prefix/lib", includedir="$prefix/include".
If this gets installed with make DESTDIR="/foo" install, then we end up with prefix_real = prefix = "/foo/usr" as expected, but
includedir="/foo/foo/usr/include" and libdir="/foo/foo/usr/lib" because of the double sed invocation (prefix is already expanded). Work around it by ensuring we only match the beginning of the string.
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2022年04月11日 14:58:10 | admin | set | github: 67096 |
| 2014年11月20日 13:00:52 | peko | create |