gmic/gmic-unstrip.diff

23 lines
905 B
Diff

Index: gmic-1.6.0.0/src/Makefile
===================================================================
--- gmic-1.6.0.0.orig/src/Makefile
+++ gmic-1.6.0.0/src/Makefile
@@ -317,7 +317,7 @@ QMAKE = qmake
zart: lib
ifneq ($(OS),Darwin)
- cd ../zart && $(QMAKE) zart.pro && $(MAKE) && strip zart
+ cd ../zart && $(QMAKE) zart.pro && $(MAKE) && strip -S zart
else
cd ../zart && $(QMAKE) zart.pro && $(MAKE) "CFLAGS=$(STD_MACOSX_CFLAGS) $(OPT_CFLAGS)" "SUBLIBS=$(STD_MACOSX_LIBS) $(OPT_LIBS)"
endif
@@ -363,7 +363,7 @@ gmic_gimp.o: gmic.cpp CImg.h
$(CC) -o gmic_gimp.o -c gmic.cpp $(CFLAGS) -Dgmic_gimp
gmic_gimp : gmic_gimp.o gmic_gimp.cpp
$(CC) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o `gimptool-2.0$(EXE) --cflags` $(CFLAGS) `gimptool-2.0$(EXE) --libs` $(LIBS)
- strip gmic_gimp$(EXE)
+ strip -S gmic_gimp$(EXE)
gmic: gmic.cpp gmic.h CImg.h
$(CC) -o gmic gmic.cpp $(CFLAGS) -Dgmic_main $(LIBS)