shithub: opusfile

Download patch

ref: 49c166829e91110e145d24c26e6e66882aeab5ef
parent: ea2412ea27422d9c72c316804ff4d5eb7c100357
author: Timothy B. Terriberry <[email protected]>
date: Mon Sep 17 03:35:21 EDT 2012

Revert ea2412ea.

The actual problem was that opus-uninstalled.pc was forcing static
 linking, but not including all the relevant libraries.

--- a/unix/Makefile
+++ b/unix/Makefile
@@ -16,7 +16,7 @@
 # The location of include files.
 # Modify these to point to your Ogg and Vorbis include directories if they are
 #  not installed in a standard location.
-CINCLUDE = `pkg-config --cflags --static ogg opus`
+CINCLUDE = `pkg-config --cflags ogg opus`
 # These are gcc-only, but not actually critical.
 # Extra compilation flags.
 # You may get speed increases by including flags such as -O2 or -O3 or
@@ -31,7 +31,7 @@
 CFLAGS := -Wall $(CFLAGS)
 
 # Libraries to link with, and the location of library files.
-LIBS = `pkg-config --libs --static ogg opus`
+LIBS = `pkg-config --libs ogg opus`
 
 #TODO: tests
 FOO_LIBS =