[dia: 36/105] #19: OpenBSD build: add -lc to link arguments.



commit e31a7ba958a142ed789341439305ce141943dcb2
Author: eduard <eduard diabuild my.domain>
Date:   Fri Dec 28 10:20:31 2018 +0000

    #19: OpenBSD build: add -lc to link arguments.
    
      - Fixes undefined 'memset', etc link errors.

 meson.build | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/meson.build b/meson.build
index e89d13b1..294c6f73 100644
--- a/meson.build
+++ b/meson.build
@@ -6,6 +6,8 @@ project('dia',
         default_options : []
 )
 
+add_global_link_arguments('-lc', language: 'c')
+
 cc = meson.get_compiler('c')
 
 #GTK_MODULES="gtk+-2.0 >= 2.16.0 glib-2.0 >= 2.20.0 libxml-2.0 gdk-pixbuf-2.0 gthread-2.0 gmodule-2.0"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]