I am looking to solve the following problem:
Show that there exists a positive real number $A>0$ such that $$ \prod_{p \text{ prime}\\\;\; p\leq x} \left( 1 − \frac{1}{p} \right) = \frac {A}{\log x} ( 1 + O( \frac{1}{\log x} ) ) \quad \text{ as }\space x\rightarrow \infty $$
I have been trying to get this result using Mertens second theorem but I have not been successful any help?