diff options
author | Michael Meeks <michael.meeks@novell.com> | 2011-05-17 15:23:42 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2011-05-17 15:26:32 +0100 |
commit | 80305ef4b69f138c36472db00452b578954ab97b (patch) | |
tree | c1c45cc709f6293db8b502eac1ded23049e0a969 /desktop | |
parent | 7c6a6bb8644ebebed08a6e42cf8ad3d634b79008 (diff) |
fix ENABLE_QUICKSTART_LIBPNG handling fdo#36497
Diffstat (limited to 'desktop')
-rwxr-xr-x | desktop/unx/source/makefile.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/desktop/unx/source/makefile.mk b/desktop/unx/source/makefile.mk index ad68ca95135b..4a590b9e12ee 100755 --- a/desktop/unx/source/makefile.mk +++ b/desktop/unx/source/makefile.mk @@ -34,10 +34,10 @@ NO_DEFAULT_STL=TRUE .IF "$(ENABLE_QUICKSTART_LIBPNG)"=="TRUE" CFLAGS+=-DENABLE_QUICKSTART_LIBPNG +CFLAGS+=$(LIBPNG_CFLAGS) .ENDIF STDLIB= -CFLAGS+=$(LIBPNG_CFLAGS) OBJFILES= \ $(OBJ)$/splashx.obj \ @@ -55,7 +55,10 @@ APP1RPATH = BRAND APP1OBJS = $(OBJFILES) $(PAGEIN_OBJS) APP1LIBSALCPPRT= APP1CODETYPE = C -APP1STDLIBS = $(PTHREAD_LIBS) $(X11LINK_DYNAMIC) $(SALLIB) $(LIBPNG_LIBS) +APP1STDLIBS = $(PTHREAD_LIBS) $(X11LINK_DYNAMIC) $(SALLIB) +.IF "$(ENABLE_QUICKSTART_LIBPNG)"=="TRUE" +APP1STDLIBS += $(LIBPNG_LIBS) +.ENDIF .IF "$(OS)"=="SOLARIS" APP1STDLIBS+= -lsocket .ENDIF |