path: root/scripts/wrapper.c
AgeCommit message (Collapse)AuthorFilesLines
2011-04-06complibs: disable building shared libsYann E. MORIN"1-136/+0
Managing the shared version of the companion libraries has become cumbersome. Also, it will one day be possible to use the companion libraries from the host distribution, and then we will be able to easily use either shared or static libs. As a side note, while working on the canadian-rework series, it has become quite more complex to properly handle shared companion libraries, as they need to be built both for the build and gost systems. That's not easy to handle. At all. Signed-off-by: "Yann E. MORIN" <>
2010-06-22scripts/wrapper: fix wrong test when checking access to the reall toolYann E. MORIN"1-1/+1
In C, the proper syntax for a bit-wise OR is a single '|', not two. It worked so far because all was well: - X_OK == 1 - R_OK||X_OK == 1 - the file we searched for had the x-bit set -> access( file, R_OK||X_OK ) worked - inicidentally, the file we searched for also had the r-bit set, but we were not testing that in fact.
2010-05-22scripts/wrapper.c: Under MacOS set DYLD_LIBRARY_PATHTitus von Boxberg1-2/+7
Depending on (predefined) macro __APPLE__, use DYLD_LIBRARY_PATH instead of LD_LIBRARY_PATH.
2009-08-30tools wrapper: fix error due to unused argumentYann E. MORIN"1-0/+3
In the C wrapper, the argc argument is not used, causing an error (as we treat warnings as errors). Use a dummy allocation to get rid of the warning.
2009-08-29tool wrapper: add initial wrapper coded in CYann E. MORIN"1-0/+128
Add an initial wrapper: - find the realpath of the tool being called - add the '.' in front of the tool name - add the '/lib' dir to the base dir of the tool - set and export LD_LIBRARY_PATH - execve the real tool