view src/openal-1-fixes.patch @ 3554:b1ca68ddd02c

build native-gcc using untared dependancies within gcc source tree * src/native-gcc.mk: untar gmp, mpc, mpfr, cloog and isl into the gcc source tree before configure and build, set sysroot. * src/native-binutils.mk: set sysroot path. * src/mingw-w64-1-math-h.patch, mingw-w64-2-float-h.patch: New files.
author John Donoghue <john.donoghue@ieee.org>
date Fri, 21 Feb 2014 06:05:39 -0500
parents fbf67aa01033
children 5e169963644e
line wrap: on
line source

This file is part of MXE.
See index.html for further information.

Contains ad hoc patches for cross building.

From b5c7c4853307964f0b8e11e2c9edb5bf0f8511f7 Mon Sep 17 00:00:00 2001
From: Tony Theodore <tonyt@logyst.com>
Date: Tue, 3 Apr 2012 14:36:58 +0200
Subject: [PATCH] add static private dependencies to pkg-config for cmake

---
 CMakeLists.txt |    1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ef3d08d..88de1e5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -543,6 +543,7 @@ IF(DSOUND)
                 SET(BACKENDS  "${BACKENDS} DirectSound \(linked\),")
                 SET(EXTRA_LIBS dsound ${EXTRA_LIBS})
             ENDIF()
+            SET(PKG_CONFIG_LIBS "${PKG_CONFIG_LIBS} -luuid -lole32")
         ENDIF()
     ENDIF()
 ENDIF()
-- 
1.7.9.2