libreoffice/build-link-rt.diff
Petr Mladek 79b3c8a17b Accepting request 185565 from LibreOffice:Unstable
- set PYTHON variables using python-config on SLED11 because the pkg-config
  files are not there
- set the PYTHON variables only in the main libreoffice.spec because
  they are not needed to build help
- build-link-rt.diff: liblt is linked with librt, so we need to link
  the libmerged with librt as well; it fixes the build on SLED11
- use -g1 instead of -g to reduce the memory and disk usage with
  debugging symbols; note that only .o files need about 12GB when
  compliled with full debugging symbols

OBS-URL: https://build.opensuse.org/request/show/185565
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=48
2013-08-02 07:26:14 +00:00

11 lines
252 B
Diff

--- Library_merged.mk.old 2013-07-23 12:40:26.000000000 +0200
+++ Library_merged.mk 2013-07-31 16:33:34.000000000 +0200
@@ -89,6 +89,7 @@ ifeq ($(OS),LINUX)
$(eval $(call gb_Library_add_libs,merged,\
-lm \
-ldl \
+ -lrt \
-lpthread \
))
endif