Link all objects into libpgosm.so

This commit is contained in:
Tom Hughes 2016-07-27 20:51:32 +01:00
parent cfd55f0c7d
commit 2e2b33ea61

View file

@ -16,7 +16,7 @@ clean:
$(RM) ${DESTDIR}/*.so ${DESTDIR}/*.o
${DESTDIR}/libpgosm.so: ${DESTDIR}/quadtile.o ${DESTDIR}/maptile.o ${DESTDIR}/xid_to_int4.o
cc ${LDFLAGS} -o $@ $<
cc ${LDFLAGS} -o $@ $^
${DESTDIR}/%.o: %.c
cc -I `${PG_CONFIG} --includedir` -I `${PG_CONFIG} --includedir-server` -I${QTDIR} -fPIC -O3 -DUSE_PGSQL -c -o $@ $<