[DVDnav-discuss] r970 - trunk/libdvdnav/Makefile
nicodvb
subversion at mplayerhq.hu
Thu Nov 22 22:12:57 CET 2007
Author: nicodvb
Date: Thu Nov 22 22:12:57 2007
New Revision: 970
Log:
build fix for dvdread internal; patch by Rathann
Modified:
trunk/libdvdnav/Makefile
Modified: trunk/libdvdnav/Makefile
==============================================================================
--- trunk/libdvdnav/Makefile (original)
+++ trunk/libdvdnav/Makefile Thu Nov 22 22:12:57 2007
@@ -96,8 +96,13 @@ ${DVDREAD_LIB}: version.h $(.OBJDIR) $(D
cd $(.OBJDIR) && $(RANLIB) $@
endif
+ifeq ($(DVDREAD),internal)
+${SHLIB}: version.h $(.OBJDIR) $(SHOBJS) $(BUILDDEPS) $(DVDREAD_SHLIB)
+ cd $(.OBJDIR) && $(CC) $(SHLDFLAGS) -L. -Wl,-soname=$(SHLIB).$(SHLIB_MAJOR) -o $@ $(SHOBJS) -ldvdread $(THREADLIB)
+else
${SHLIB}: version.h $(.OBJDIR) $(SHOBJS) $(BUILDDEPS)
cd $(.OBJDIR) && $(CC) $(SHLDFLAGS) -Wl,-soname=$(SHLIB).$(SHLIB_MAJOR) -o $@ $(SHOBJS) -ldvdread $(THREADLIB)
+endif
${MINI_SHLIB}: version.h $(.OBJDIR) $(SHOBJS) $(BUILDDEPS)
cd $(.OBJDIR) && $(CC) $(SHLDFLAGS) -Wl,-soname=$(MINI_SHLIB).$(SHLIB_MAJOR) -o $@ $(SHOBJS) $(THREADLIB)
ifeq ($(DVDREAD),internal)
More information about the DVDnav-discuss
mailing list