mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
configure: fix short-filename logic
if configure was not called from absolute path, detection would fail and huge filenames would be included in binary (noticed in yocto krogoth release)
This commit is contained in:
committed by
svenhoefer
parent
ae345d11d3
commit
b8cf8167f4
@@ -234,7 +234,7 @@ fi
|
||||
fi
|
||||
|
||||
# hack to define a short filename also for out-of-tree build
|
||||
if test `dirname $0` = `pwd`; then
|
||||
if test `dirname $0` = `pwd` || test "$0" = ./configure; then
|
||||
HWLIB_CFLAGS="$HWLIB_CFLAGS "'-D__file__=__FILE__'
|
||||
HWLIB_CFLAGS="$HWLIB_CFLAGS "'-D__path_file__=__FILE__'
|
||||
else
|
||||
|
Reference in New Issue
Block a user