Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Stan8
aqualung
34.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 34.patch of Package aqualung
From 1a29597b17ea6fbcd19b2a63ca172d782f6aa0f8 Mon Sep 17 00:00:00 2001 From: Davide Cavalca <dcavalca@fedoraproject.org> Date: Wed, 6 Sep 2023 21:32:59 -0700 Subject: [PATCH] Add platform define when enabling mac --- configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 7e46398c..262e3801 100644 --- a/configure.ac +++ b/configure.ac @@ -277,7 +277,13 @@ AQUALUNG_DETECT([lavc], [Libav / FFmpeg], AQUALUNG_DETECT([MAC], [Monkey's Audio Codec], [AC_CHECK_LIB([MAC], [CreateIAPEDecompress], - [AQUALUNG_FOUND([MAC], [-lMAC -lstdc++])], + [ + AQUALUNG_FOUND([MAC], [-lMAC -lstdc++]), + AS_CASE([$host_os], + [cygwin*|mingw*], [AC_DEFINE([PLATFORM_WINDOWS], [1], [Defined if Windows])], + [darwin*], [AC_DEFINE([PLATFORM_DARWIN], [1], [Defined if Darwin])], + [linux*], [AC_DEFINE([PLATFORM_LINUX], [1], [Defined if Linux])]) + ], [AQUALUNG_MISSING([MAC], [Monkey's Audio Codec support requires libMAC])], [-lstdc++])])
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor