]> git.sesse.net Git - vlc/commitdiff
live555: make sure we use the compiler _and_ the CFLAGS we want to use (fixes linking...
authorFelix Paul Kühne <fkuehne@videolan.org>
Fri, 2 Jan 2009 11:50:39 +0000 (12:50 +0100)
committerFelix Paul Kühne <fkuehne@videolan.org>
Fri, 2 Jan 2009 11:50:56 +0000 (12:50 +0100)
extras/contrib/src/Makefile

index 8c29bf7e427cccf9b39c33495d87383cfc6ca63c..8c78eb12abcb9f1c3650204a89e12d7065b43bb1 100644 (file)
@@ -1264,7 +1264,7 @@ ifdef HAVE_WIN32
        (cd $<;./genMakefiles mingw && make $(HOSTCC)) 
 else 
 ifdef HAVE_DARWIN_OS
-       (cd $<; sed -e 's%EXTRA_CFLAGS%$(EXTRA_CFLAGS)%' -e 's%EXTRA_LDFLAGS%$(EXTRA_LDFLAGS)%' -i.orig  config.macosx)
+       (cd $<; sed -e 's%-DBSD=1%-DBSD=1\ $(EXTRA_CFLAGS)\ $(EXTRA_LDFLAGS)%' -e 's%cc%$(CC)%'  -e 's%c++%$(CXX)%' -i.orig  config.macosx)
        (cd $<; ./genMakefiles macosx && make)
 else
        (cd $<; sed -e 's/=/= EXTRA_CPPFLAGS/' -e 's%EXTRA_CPPFLAGS%-I/include%' -i.orig groupsock/Makefile.head)