[DVDnav-discuss] r1103 - trunk/libdvdread/Makefile

nicodvb subversion at mplayerhq.hu
Sat Jun 14 15:01:31 CEST 2008


Author: nicodvb
Date: Sat Jun 14 15:01:30 2008
New Revision: 1103

Log:
pass long LDFLAGS (modified with --extra-ldflags) to the building of libdvdread.so; what to do with the .a lib?

Modified:
   trunk/libdvdread/Makefile

Modified: trunk/libdvdread/Makefile
==============================================================================
--- trunk/libdvdread/Makefile	(original)
+++ trunk/libdvdread/Makefile	Sat Jun 14 15:01:30 2008
@@ -83,7 +83,7 @@ ${DVDREAD_LIB}: version.h $(.OBJDIR) $(D
 	cd $(.OBJDIR) && $(RANLIB) $@
 
 ${DVDREAD_SHLIB}: version.h $(.OBJDIR) $(DVDREAD_SHOBJS) $(BUILDDEPS)
-	cd $(.OBJDIR) && $(CC) $(SHLDFLAGS) -ldl -Wl,-soname=$(DVDREAD_SHLIB).$(SHLIB_MAJOR) -o $@ $(DVDREAD_SHOBJS)
+	cd $(.OBJDIR) && $(CC) $(SHLDFLAGS) $(LDFLAGS) -ldl -Wl,-soname=$(DVDREAD_SHLIB).$(SHLIB_MAJOR) -o $@ $(DVDREAD_SHOBJS)
 
 .c.so:	$(BUILDDEPS)
 	cd $(.OBJDIR) && $(CC) -fPIC -DPIC -MD $(CFLAGS) -c -o $@ $<



More information about the DVDnav-discuss mailing list