summaryrefslogtreecommitdiff
path: root/sal/Library_sal.mk
diff options
context:
space:
mode:
authorKacper Kasper <kacperkasper@gmail.com>2018-02-25 02:55:15 +0100
committerMichael Meeks <michael.meeks@collabora.com>2018-03-05 14:17:27 +0100
commit9c036b1d3db253a1fd43ce76ce1d919e2029af59 (patch)
tree6e5130faa9421c0c093059b5cff08a4356407d28 /sal/Library_sal.mk
parent73312eaff10b19d1286c225ee335451e1800df4a (diff)
Make LibreOffice buildable on Haiku.
* Obviously VCL wiring is missing, but most components do build. Change-Id: Ie853ada1423a8f4c2b647be59cd47a7730c42978 Reviewed-on: https://gerrit.libreoffice.org/50293 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sal/Library_sal.mk')
-rw-r--r--sal/Library_sal.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/sal/Library_sal.mk b/sal/Library_sal.mk
index 01948f4c4465..0489e10a0e52 100644
--- a/sal/Library_sal.mk
+++ b/sal/Library_sal.mk
@@ -57,7 +57,7 @@ $(eval $(call gb_Library_use_system_win32_libs,sal,\
))
$(eval $(call gb_Library_add_libs,sal,\
- $(if $(filter-out $(OS),WNT), \
+ $(if $(filter-out $(OS),WNT HAIKU), \
$(if $(filter $(OS),ANDROID),, \
-lpthread \
) \
@@ -70,6 +70,9 @@ $(eval $(call gb_Library_add_libs,sal,\
-lnsl \
-lsocket \
) \
+ $(if $(filter $(OS),HAIKU), \
+ -lnetwork \
+ ) \
))
ifeq ($(OS),MACOSX)