Changeset - r15549:6f9aced34363
[Not reviewed]
master
0 1 0
rubidium - 14 years ago 2010-07-25 23:13:40
rubidium@openttd.org
(svn r20219) -Fix: Haiku uses a "special" location for headers
1 file changed with 7 insertions and 0 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -2330,6 +2330,13 @@ detect_library() {
 
				log 2 "  trying /usr/pkg/include/$4$5... no"
 
			fi
 
		fi
 
		if [ -z "$res" ] && [ "$os" = "HAIKU" ]; then
 
			eval "$2=`ls -1 /boot/common/include/$4*.h 2>/dev/null | egrep \"\/$5\$\"`"
 
			eval "res=\$$2"
 
			if [ -z "$res" ]; then
 
				log 2 "  trying /boot/common/include/$4$5... no"
 
			fi
 
		fi
 

	
 
		eval "res=\$$2"
 
		if [ -n "$res" ] && ( [ -n "$force_static" ] || ( [ "$enable_static" != "0" ] && [ "$os" != "OSX" ] ) ); then
0 comments (0 inline, 0 general)