vcpkg/ports/libcanberra/macos_fix.patch
Dawid Wróbel 8c7e42e5af
[libcanberra] new port (#19816)
* [libcanberra] new port

* [libcanberra] add libvorbis depnendency

* [libcanberra] update versions

* [libcanberra] fix macOS build

* [libcanberra] only support mac and linux

* [libcanberra] update versions

* [libcanberra] patch pkgconfig on macOS

* [libcanberra] update versions

* [libcanberra] unix-only port, remove vcpkg_copy_pdbs()

diff --git a/ports/libcanberra/portfile.cmake b/ports/libcanberra/portfile.cmake
index 1dec6214c..b4d75f77e 100644
--- a/ports/libcanberra/portfile.cmake
+++ b/ports/libcanberra/portfile.cmake
@@ -62,7 +62,6 @@ if(VCPKG_TARGET_IS_OSX)
 endif()

 vcpkg_fixup_pkgconfig()
-vcpkg_copy_pdbs()

 file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
 file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/tools") # empty folder

* [libcanberra] update versions

* [libcanberra] fix .pc.in token expansion

* [libcanberra] update versions
2021-09-27 17:19:43 -07:00

15 lines
399 B
Diff

diff --git a/configure.ac b/configure.ac
index f68602d..1451747 100644
--- a/configure.ac
+++ b/configure.ac
@@ -115,8 +115,7 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
AC_SUBST([WARNINGFLAGS], $with_cflags)
CC_CHECK_FLAGS_APPEND([with_ldflags], [LDFLAGS], [\
- -Wl,--as-needed \
- -Wl,--gc-sections])
+])
AC_SUBST([GCLDFLAGS], $with_ldflags)
#### libtool stuff ####