Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 41353
Collapse All | Expand All

(-)iodbc/install_libodbc.sh.old (-45 lines)
Lines 89-136 Link Here
89
fi
89
fi
90
90
91
91
92
cd "$PREFIX"/lib
93
94
95
#
96
#  Create a dynamic libodbc.so library link (if available)
97
#
98
if test -f libiodbc.la
99
then
100
    echo "Creating dynamic library for Generic ODBC driver Manager ..."
101
    . libiodbc.la
102
    for lib in $library_names
103
    do
104
	case $lib in
105
	libiodbc.so.*)
106
	    rm -f libodbc.so
107
	    ln -s $lib libodbc.so
108
	    ;;
109
	libiodbc.sl.*)
110
	    rm -f libiodbc.sl
111
	    ln -s $lib libodbc.sl
112
	    ;;
113
	esac
114
	break
115
    done
116
fi
117
118
119
#
120
#  Create a static libodbc.a library link
121
#
122
echo "Creating static library for Generic ODBC driver Manager ..."
123
case "$MACHINE" in
124
  AIX)  
125
	echo "Special handling for AIX ..."
126
	rm -f libodbc.so libodbc.a odbc.so
127
	cat libiodbc.so.2 > odbc.so
128
	ar rv libodbc.a odbc.so
129
	rm -f odbc.so
130
	;;
131
132
  *)
133
	rm -f libodbc.a
134
	ln -s libiodbc.a libodbc.a
135
	;;
136
esac

Return to bug 41353