[102397] trunk/dports/aqua/qt4-mac/files/library_path/library_path.test
Revision: 102397 https://trac.macports.org/changeset/102397 Author: michaelld@macports.org Date: 2013-02-01 11:45:51 -0800 (Fri, 01 Feb 2013) Log Message: ----------- qt4-mac : really fix LIBARY_PATH test (ticket #37878). Modified Paths: -------------- trunk/dports/aqua/qt4-mac/files/library_path/library_path.test Modified: trunk/dports/aqua/qt4-mac/files/library_path/library_path.test =================================================================== --- trunk/dports/aqua/qt4-mac/files/library_path/library_path.test 2013-02-01 19:40:10 UTC (rev 102396) +++ trunk/dports/aqua/qt4-mac/files/library_path/library_path.test 2013-02-01 19:45:51 UTC (rev 102397) @@ -12,13 +12,13 @@ # (1) make the library if "$COMPILER" -dynamiclib -o library_path_lib.dylib library_path_lib.c 2>/dev/null 1>&2; then # (2) do the test, without LIBRARY_PATH; should fail - if "$COMPILER" -nostdlib -nostdinc -I. -o library_path_test library_path_test.c -lrary_path_lib 2>/dev/null 1>&2; then + if "$COMPILER" -nostdinc -I. -o library_path_test library_path_test.c -lrary_path_lib 2>/dev/null 1>&2; then echo "Compile seems to work even with LIBRARY_PATH not set; assuming LIBRARY_PATH does not work" done=0 else # (3) do the test, with LIBRARY_PATH set; should pass export LIBRARY_PATH=. - if "$COMPILER" -nostdlib -nostdinc -I. -o library_path_test library_path_test.c -lrary_path_lib 2>/dev/null 1>&2; then + if "$COMPILER" -nostdinc -I. -o library_path_test library_path_test.c -lrary_path_lib 2>/dev/null 1>&2; then LIBRARY_PATH_SUPPORT=yes fi fi
participants (1)
-
michaelld@macports.org