LinuxTV Patchwork dvbhddevice Makefile missing $(LDFLAGS)

login
register
mail settings
Submitter Chris Mayo
Date Feb. 16, 2013, 12:15 p.m.
Message ID <511F7854.70209@gmail.com>
Download mbox | patch
Permalink /patch/16890/
State New
Headers show

Comments

Chris Mayo - Feb. 16, 2013, 12:15 p.m.
Been sitting on this for ages but in anticipation of 2.0:
Klaus Schmidinger - Feb. 16, 2013, 12:18 p.m.
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)

Privacy Policy