project PostgreSQL : requirements -multi # Works around a bug in boost.build ; lib libpq-dll ; lib libpq-dll : : "C:/Program Files/PostgreSQL/8.3/bin/libpq.dll" windows ; lib libpq : : pq ; lib libpq : libpq-dll : "C:/Program Files/PostgreSQL/8.3/lib/libpq.lib" windows ; rule pgdll ( libs * ) { lib $(libs) ; local prefix = "C:\\Program Files\\PostgreSQL\\8.3\\bin\\" ; local suffix = ".dll" ; for local curlib in $(libs) { local name = $(prefix) $(curlib) $(suffix) ; lib $(curlib) : : $(name:J) windows ; } install ../dist/bin : libpq-dll $(libs) ; } pgdll comerr32 gssapi32 k5sprt32 krb5_32 libiconv2 libintl3 ;