curl-impersonate: A special build of curl that can impersonate Chrome & Firefox
Change libbrotli compilation flags for macOS
lwthiker31ed18d31261
diff --git a/chrome/patches/curl-impersonate.patch b/chrome/patches/curl-impersonate.patchindex 33de539..fa77f32 100644--- a/chrome/patches/curl-impersonate.patch+++ b/chrome/patches/curl-impersonate.patch@@ -19,7 +19,7 @@ index 3e55230ee..e3ea22b96 100644# List of files required to generate VC IDE .dsp, .vcproj and .vcxproj filesinclude lib/Makefile.incdiff --git a/configure.ac b/configure.ac-index 63e320236..8c41e8501 100644+index 63e320236..86ab654c7 100644--- a/configure.ac+++ b/configure.ac@@ -1331,7 +1331,8 @@ if test X"$OPT_BROTLI" != Xno; then@@ -28,7 +28,7 @@ index 63e320236..8c41e8501 100644if test -n "$PREFIX_BROTLI"; then- LIB_BROTLI="-lbrotlidec"+ # curl-impersonate: Use static libbrotli-+ LIB_BROTLI="-Wl,-Bstatic -lbrotlidec-static -lbrotlicommon-static -Wl,-Bdynamic"++ LIB_BROTLI="-lbrotlidec-static -lbrotlicommon-static"LD_BROTLI=-L${PREFIX_BROTLI}/lib$libsuffCPP_BROTLI=-I${PREFIX_BROTLI}/includeDIR_BROTLI=${PREFIX_BROTLI}/lib$libsuffdiff --git a/firefox/patches/curl-impersonate.patch b/firefox/patches/curl-impersonate.patchindex 3d81794..d89fc1c 100644--- a/firefox/patches/curl-impersonate.patch+++ b/firefox/patches/curl-impersonate.patch@@ -19,7 +19,7 @@ index 3e55230ee..90b504b5c 100644# List of files required to generate VC IDE .dsp, .vcproj and .vcxproj filesinclude lib/Makefile.incdiff --git a/configure.ac b/configure.ac-index 63e320236..238addfaa 100644+index 63e320236..40f67f137 100644--- a/configure.ac+++ b/configure.ac@@ -1331,7 +1331,8 @@ if test X"$OPT_BROTLI" != Xno; then@@ -28,7 +28,7 @@ index 63e320236..238addfaa 100644if test -n "$PREFIX_BROTLI"; then- LIB_BROTLI="-lbrotlidec"+ # curl-impersonate: Use static libbrotli-+ LIB_BROTLI="-Wl,-Bstatic -lbrotlidec-static -lbrotlicommon-static -Wl,-Bdynamic"++ LIB_BROTLI="-lbrotlidec-static -lbrotlicommon-static"LD_BROTLI=-L${PREFIX_BROTLI}/lib$libsuffCPP_BROTLI=-I${PREFIX_BROTLI}/includeDIR_BROTLI=${PREFIX_BROTLI}/lib$libsuff