DarkestLegion095 / gimp-dds

Automatically exported from code.google.com/p/gimp-dds
Other
0 stars 0 forks source link

Plugin attempts to append .exe on OS X, other non-Linux platforms besides Windows #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Running make with GCC 4.2 (probably more)

Compiled on OS X Lion with gcc-4.2.1 and dependencies installed via MacPorts.  
GCC provided by Xcode 4.2.1.

This should fix it so it only appends .exe on Windows platforms.

Index: Makefile
===================================================================
--- Makefile    (revision 175)
+++ Makefile    (working copy)
@@ -5,7 +5,7 @@
 CFLAGS=-pipe -g -O2 -Wall $(shell pkg-config --cflags gtk+-2.0 gimp-2.0)

 OS=$(shell uname -s)
-ifeq ($(OS), Linux)
+ifeq (,$(findstring Windows,$(OS)))
 EXT=
 else
 EXT=.exe

Attached a .diff file as well.

Original issue reported on code.google.com by clifton....@gmail.com on 15 Feb 2012 at 11:13

GoogleCodeExporter commented 8 years ago
Wrong diff again, gotta stop doing that.

Original comment by clifton....@gmail.com on 15 Feb 2012 at 11:15

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed in SVN trunk

Original comment by ski...@gmail.com on 23 Jun 2012 at 10:13