24 lines
1.3 KiB
Diff
24 lines
1.3 KiB
Diff
--- a/src/libtsduck/Makefile
|
|
+++ b/src/libtsduck/Makefile
|
|
@@ -141,7 +141,7 @@
|
|
@echo ' [DTAPI] $(if $(DTAPI_OBJECT),using $(DTAPI_OBJECT),no DTAPI available)'; \
|
|
echo ' [LD] $@'; \
|
|
cd $(OBJDIR); \
|
|
- $(CXX) $(CXXFLAGS) $(SOFLAGS) $(notdir $(OBJS)) $(DTAPI_OBJECT) $(LIBTSDUCK_LDLIBS) $(LDLIBS_EXTRA) $(LDLIBS) -shared -o $@
|
|
+ $(CXX) $(CXXFLAGS) $(SOFLAGS) $(LDFLAGS) $(notdir $(OBJS)) $(DTAPI_OBJECT) $(LIBTSDUCK_LDLIBS) $(LDLIBS_EXTRA) $(LDLIBS) -shared -o $@
|
|
|
|
# The static library is build differently. There are four specific categories:
|
|
# tables, descriptors, charsets and plugins. These classes use self-registration
|
|
@@ -203,11 +203,8 @@
|
|
+@$(call F_RECURSE,config python java)
|
|
|
|
install-devel: $(STATIC_LIBTSDUCK) $(TSDUCK_H)
|
|
- rm -rf $(SYSROOT)$(SYSPREFIX)/include/tsduck
|
|
install -d -m 755 $(SYSROOT)$(USRLIBDIR) $(SYSROOT)$(SYSPREFIX)/include/tsduck
|
|
install -m 644 $(STATIC_LIBTSDUCK) $(SYSROOT)$(USRLIBDIR)
|
|
install -m 644 $(addsuffix /*.h,$(PUBLIC_INCLUDES)) $(TSDUCK_H) $(SYSROOT)$(SYSPREFIX)/include/tsduck
|
|
- $(if $(NOTELETEXT),rm -f $(SYSROOT)$(SYSPREFIX)/include/tsduck/tsTeletextDemux.h)
|
|
- $(if $(NOTELETEXT),rm -f $(SYSROOT)$(SYSPREFIX)/include/tsduck/tsTeletextPlugin.h)
|
|
$(if $(NOTELETEXT),$(SED) -i -e '/TeletextDemux/d' -e '/TeletextPlugin/d' $(SYSROOT)$(SYSPREFIX)/include/tsduck/tsduck.h)
|
|
+@$(call F_RECURSE,config python java)
|