dvbhddevice Makefile missing $(LDFLAGS)

Message ID 511F7854.70209@gmail.com
State New
Headers

Commit Message

Chris Mayo Feb. 16, 2013, 12:15 p.m. UTC
  Been sitting on this for ages but in anticipation of 2.0:
  

Comments

Klaus Schmidinger Feb. 16, 2013, 12:18 p.m. UTC | #1
On 16.02.2013 13:15, Chris Mayo wrote:
> Been sitting on this for ages but in anticipation of 2.0:
>
> --- PLUGINS/src/dvbhddevice/Makefile.orig
> +++ PLUGINS/src/dvbhddevice/Makefile
> @@ -98,7 +98,7 @@
>
>   $(SOFILE): $(OBJS) libhdffcmd
>   	@$(MAKE) --no-print-directory -C libhdffcmd all
> -	$(CXX) $(CXXFLAGS) -shared $(OBJS) libhdffcmd/libhdffcmd.a -o $@
> +	$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) libhdffcmd/libhdffcmd.a -o $@
>
>   install-lib: $(SOFILE)
>   	install -D $^ $(LIBDIR)/$^.$(APIVERSION)

This has already been reported to me yesterday by Ville Skyttä.

Klaus
  

Patch

--- PLUGINS/src/dvbhddevice/Makefile.orig
+++ PLUGINS/src/dvbhddevice/Makefile
@@ -98,7 +98,7 @@ 
 
 $(SOFILE): $(OBJS) libhdffcmd
 	@$(MAKE) --no-print-directory -C libhdffcmd all
-	$(CXX) $(CXXFLAGS) -shared $(OBJS) libhdffcmd/libhdffcmd.a -o $@
+	$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) libhdffcmd/libhdffcmd.a -o $@
 
 install-lib: $(SOFILE)
 	install -D $^ $(LIBDIR)/$^.$(APIVERSION)