]> granicus.if.org Git - libjpeg-turbo/commitdiff
Only disable filesystem redirection in the 64-bit installers
authorDRC <dcommander@users.sourceforge.net>
Mon, 10 May 2010 23:39:22 +0000 (23:39 +0000)
committerDRC <dcommander@users.sourceforge.net>
Mon, 10 May 2010 23:39:22 +0000 (23:39 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@184 632fc199-4ca6-4c93-a231-07263d6284db

Makefile.am
release/libjpeg-turbo.nsi
win/Makefile

index dd6774960a8ca05b09d1ec8b401b35b9862610c5..d3c84749d8d4bc234cb12d232e315c57293f1c34 100644 (file)
@@ -160,7 +160,7 @@ sunpkg: all
 
 nsi: all
        makensis -nocd -DVERSION=$(VERSION) -DAPPNAME=libjpeg-turbo-gcc64 \
-               -DWLIBDIR=.libs -DWSRCDIR=$(srcdir) -DWBLDDIR=. -DWHDRDIR=. \
+               -DWLIBDIR=.libs -DWSRCDIR=$(srcdir) -DWBLDDIR=. -DWHDRDIR=. -DWIN64 \
                -DPLATFORM="GCC 64-bit" -DGCC $(srcdir)/release/libjpeg-turbo.nsi
 
 else
index aaa96d994d8742f984972f1d7bfdf707808c322e..e9444662707fe11e4760a586f6b8844abf856144 100644 (file)
@@ -12,9 +12,11 @@ UninstPage uninstConfirm
 UninstPage instfiles
 
 Section "libjpeg-turbo SDK for ${PLATFORM} (required)"
+!ifdef WIN64
        ${If} ${RunningX64}
        ${DisableX64FSRedirection}
        ${Endif}
+!endif
        SectionIn RO
 !ifdef GCC
        IfFileExists $SYSDIR/libturbojpeg.dll exists 0
@@ -78,9 +80,11 @@ Section "libjpeg-turbo SDK for ${PLATFORM} (required)"
 SectionEnd
 
 Section "Uninstall"
+!ifdef WIN64
        ${If} ${RunningX64}
        ${DisableX64FSRedirection}
        ${Endif}
+!endif
 
        SetShellVarContext all
 
index 80aad01d4e8a86e593d49ad9d8e744467d3a29e7..381203ec6fac92073d00c6ea8ae8bd1f05bdf8b9 100755 (executable)
@@ -234,7 +234,7 @@ nsi: all
        $(RM) $(ODIR)/libjpeg-turbo64.exe
        makensis -nocd -DVERSION=$(VERSION) -DAPPNAME=libjpeg-turbo64 \
                -DWLIBDIR=windows64 -DWSRCDIR=. -DWBLDDIR=windows64 -DWHDRDIR=win \
-               -DPLATFORM="Visual C++ 64-bit" release/libjpeg-turbo.nsi
+               -DPLATFORM="Visual C++ 64-bit" -DWIN64 release/libjpeg-turbo.nsi
 else
 nsi: all
        $(RM) $(ODIR)/libjpeg-turbo.exe