summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcrashrep/source/unx/makefile.mk15
1 files changed, 4 insertions, 11 deletions
diff --git a/crashrep/source/unx/makefile.mk b/crashrep/source/unx/makefile.mk
index 968d288e761a..54628be1f2f7 100755
--- a/crashrep/source/unx/makefile.mk
+++ b/crashrep/source/unx/makefile.mk
@@ -8,7 +8,7 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.18 $
+# $Revision: 1.19 $
#
# This file is part of OpenOffice.org.
#
@@ -45,13 +45,6 @@ LIBSALCPPRT=$(0)
# ------------------------------------------------------------------
-.IF "$(OS)"=="MACOSX"
-
-dummy:
- @echo "Nothing to build for OS $(OS)"
-
-.ELSE # "$(OS)"=="MACOSX"
-
# Only build crash reporter if either a product build with debug info
# or a non-pro build is done.
@@ -67,8 +60,10 @@ APP1TARGET=$(TARGET)
APP1OBJS=$(OBJFILES)
APP1RPATH=BRAND
+.IF "$(OS)" != "MACOSX"
APP1STDLIBS=$(DYNAMIC) -lXext -lX11
-.IF "$(OS)" != "FREEBSD"
+.ENDIF
+.IF "$(OS)" != "FREEBSD" && "$(OS)" != "MACOSX"
APP1STDLIBS+=-ldl -lnsl
.ENDIF
.IF "$(OS)" == "SOLARIS"
@@ -77,8 +72,6 @@ APP1STDLIBS+=-lsocket
.ENDIF # "$(ENABLE_CRASHDUMP)" != "" || "$(PRODUCT)" == ""
-.ENDIF # "$(OS)"=="MACOSX"
-
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk