shithub: opusfile

Download patch

ref: 1fbe0cd1b020e193b149724d696acaffa2ebfa58
parent: 6a033a8312c6ad7a10ed290b306633d2a5607930
author: Ralph Giles <giles@thaumas.net>
date: Wed Jun 7 07:25:58 EDT 2017

Propogate openssl CFLAGS to the opusurl build.

We added DEPS_CFLAGS to the general build, but opusurl
has an additional dependency on openssl. If the headers
were outside the normal search path, configure could
succeed but then the build would fail on http.c.

We need to add URL_DEPS_CFLAGS to that specific target.

--- a/Makefile.am
+++ b/Makefile.am
@@ -17,6 +17,7 @@
  -version-info @OP_LT_CURRENT@:@OP_LT_REVISION@:@OP_LT_AGE@
 
 libopusurl_la_SOURCES = src/http.c src/internal.c src/internal.h
+libopusurl_la_CFLAGS = $(AM_CFLAGS) $(URL_DEPS_CFLAGS)
 libopusurl_la_LIBADD = libopusfile.la $(URL_DEPS_LIBS)
 libopusurl_la_LDFLAGS = -no-undefined \
  -version-info @OP_LT_CURRENT@:@OP_LT_REVISION@:@OP_LT_AGE@