Re: getpagesize() problems
"Indan Zupancic" <[email protected]>
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Message-ID | <[email protected]> |
On Tue, August 11, 2009 14:25, Indan Zupancic wrote: > On Tue, August 11, 2009 12:07, Michele Alberti wrote: >>>Is it that it hardcodes the paths what makes it unsuitable >>> for your use? Then use the non-install version ./bin-i386/diet in the >>> source >>> tree and distribute that together with at least diet's include files and >>> libs. >> >> Non install version would be a good solution but it seems to consider >> some hardcoded paths, it considers the directory where I run make >> command to build the diet. There is a way to make it considers >> relative paths? > > No it does not, it looks at the path of the diet command and uses that > to figure out where the rest is. Give it a try. Sorry, it does indeed hardcodes the path, I checked again. In that case it's easiest to distribute the whole diet source with your source distribution, which makes sense anyway. Or require dietlibc as a dependency (lots of distributions have a package for it). Greetings, Indan