mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] x264 build fails


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] x264 build fails
Date: Tue, 5 Oct 2010 05:33:39 +1100

On 4 October 2010 23:09, Volker Grabsch <address@hidden> wrote:

> Is it possible have an "rm" command that is a long-term solution?
> Something like this:
>
>     rm '$(PREFIX)/$(TARGET)'/lib/libx*.a
>
> but with less collateral damage?

make uninstall after ./configure? It currently removes:

$(PREFIX)/$(TARGET)/include/x264.h
$(PREFIX)/$(TARGET)/lib/libx264.a
$(PREFIX)/$(TARGET)/bin/x264.exe
$(PREFIX)/$(TARGET)/lib/pkgconfig/x264.pc

Seems to be exactly what we want. This may also be a general solution
if most packages have the uninstall target.

>> We could disable the .exe build with some sort of 'bin_PROGRAMS= ',
>
> This is always a good idea.

I couldn't find a way to disable it unfortunately.

Cheers,

Tony


diff -r c856172a4cf0 src/x264.mk
--- a/src/x264.mk       Mon Oct 04 08:32:39 2010 +0200
+++ b/src/x264.mk       Tue Oct 05 05:28:25 2010 +1100
@@ -24,6 +24,7 @@
         --host='$(TARGET)' \
         --prefix='$(PREFIX)/$(TARGET)' \
         --disable-pthread
+    $(MAKE) -C '$(1)' -j 1 uninstall
     $(MAKE) -C '$(1)' -j '$(JOBS)'
     $(MAKE) -C '$(1)' -j 1 install
 endef



reply via email to

[Prev in Thread] Current Thread [Next in Thread]