rtmidi/rtmidi-4.0.0-pkgconfig.patch

23 lines
677 B
Diff
Raw Normal View History

Index: rtmidi-4.0.0/rtmidi.pc.in
===================================================================
--- rtmidi-4.0.0.orig/rtmidi.pc.in
+++ rtmidi-4.0.0/rtmidi.pc.in
@@ -1,12 +1,12 @@
prefix=@prefix@
-exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
-includedir=${prefix}/include/rtmidi
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
-Name: librtmidi
+Name: rtmidi
Description: RtMidi - a set of C++ classes that provide a common API for realtime MIDI input/output
Version: @PACKAGE_VERSION@
Requires: @req@
Libs: -L${libdir} -lrtmidi
Libs.private: -lpthread
-Cflags: -pthread -I${includedir} @api@
+Cflags: -pthread -I${includedir}/rtmidi @api@