summaryrefslogtreecommitdiff
path: root/desktop/unx/source
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/unx/source')
-rw-r--r--desktop/unx/source/makefile.mk4
-rw-r--r--desktop/unx/source/start.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/desktop/unx/source/makefile.mk b/desktop/unx/source/makefile.mk
index bd8eb75f7d..494477a0c4 100644
--- a/desktop/unx/source/makefile.mk
+++ b/desktop/unx/source/makefile.mk
@@ -41,6 +41,8 @@ dummy:
STDLIB=
+CFLAGS+=$(LIBPNG_CFLAGS)
+
OBJFILES= \
$(OBJ)$/splashx.obj \
$(OBJ)$/start.obj
@@ -50,7 +52,7 @@ APP1RPATH = BRAND
APP1OBJS = $(OBJFILES)
APP1LIBSALCPPRT=
APP1CODETYPE = C
-APP1STDLIBS = $(SALLIB) -lX11 `pkg-config --libs libpng`
+APP1STDLIBS = $(SALLIB) -lX11 $(LIBPNG_LIBS)
.IF "$(OS)"=="SOLARIS"
APP1STDLIBS+= -lsocket
.ENDIF
diff --git a/desktop/unx/source/start.c b/desktop/unx/source/start.c
index fe94e904f6..450d63cfc6 100644
--- a/desktop/unx/source/start.c
+++ b/desktop/unx/source/start.c
@@ -55,7 +55,7 @@
*/
#define QSEND_AND_REPORT "-qsend-and-report"
-#define IMG_SUFFIX ".bmp"
+#define IMG_SUFFIX ".png"
#define PIPEDEFAULTPATH "/tmp"
#define PIPEALTERNATEPATH "/var/tmp"