summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-05-16 21:45:39 +0200
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-05-16 22:11:31 +0200
commit4c19fd176d964c4ff0b3998b52e268e899350254 (patch)
tree22ebb0d4f72caffab021e1725f77f77ce3ab5f64 /external
parentba9357b82ec5551d562f572074b064ccd6c808f0 (diff)
Collada2gltf: add -lrt to fix compilation problems
Change-Id: I1c0c9459cb716512dc726ee96fb811d03084aa62
Diffstat (limited to 'external')
-rw-r--r--external/collada2gltf/StaticLibrary_collada2gltf.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/external/collada2gltf/StaticLibrary_collada2gltf.mk b/external/collada2gltf/StaticLibrary_collada2gltf.mk
index 0097f3f7bab0..dac8cafd56cf 100644
--- a/external/collada2gltf/StaticLibrary_collada2gltf.mk
+++ b/external/collada2gltf/StaticLibrary_collada2gltf.mk
@@ -30,6 +30,12 @@ $(eval $(call gb_StaticLibrary_add_defs,collada2gltf,\
endif
+ifeq ($(OS),LINUX)
+$(eval $(call gb_Library_add_libs,collada2gltf,\
+ -lrt \
+))
+endif
+
$(eval $(call gb_StaticLibrary_set_generated_cxx_suffix,collada2gltf,cpp))
$(eval $(call gb_StaticLibrary_set_include,collada2gltf,\