Files
meta-musicians/recipes-musicians/rtmidi/files/0003-configure.ac-do-not-add-absolute-prefixes-to-build-f.patch
Andreas Müller ff9499a1c7 Initial commit
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-16 19:58:53 +01:00

36 lines
1.1 KiB
Diff

From 5034424a8e11ea05f0149f038d981e667e838267 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Fri, 10 Aug 2018 16:00:27 +0200
Subject: [PATCH] configure.ac: do not add absolute prefixes to build flags
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Pending
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
configure.ac | 6 ------
1 file changed, 6 deletions(-)
diff --git a/configure.ac b/configure.ac
index 5049632..3f7e183 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,12 +66,6 @@ AC_ARG_ENABLE(debug,
[AC_SUBST( cppflag, [-D__RTMIDI_DEBUG__] ) AC_SUBST( cxxflag, [-g] ) AC_SUBST( object_path, [Debug] ) AC_MSG_RESULT(yes)],
[AC_SUBST( cppflag, [] ) AC_SUBST( cxxflag, [-O3] ) AC_SUBST( object_path, [Release] ) AC_MSG_RESULT(no)])
-# Set paths if prefix is defined
-if test "x$prefix" != "x" && test "x$prefix" != "xNONE"; then
- LIBS="$LIBS -L$prefix/lib"
- CPPFLAGS="$CPPFLAGS -I$prefix/include/rtmidi"
-fi
-
# For -I and -D flags
CPPFLAGS="$CPPFLAGS $cppflag"
--
2.14.4