When you say free standing, do you mean there is nothing behind the bricks? If I have it right the bricks you are talking about are generally held in place by their own weight and the weight behind them. I suspect if you take the weight from behind them they will mot likely topple over, regardless of the glue/mortar. Have you got a photo of the bricks or wall?
For the record you could use either liquid nails (there is a mortat mix) or mix up a brickies mud (4 parts brickies sand to one part cement - more or less)