Source: goxel
Tags: patch
Severity: wishlist

Hi,

As libinih-dev is now available, please consider using system
libraries instead of bundled ones.
diff --git a/SConstruct b/SConstruct
index aa053fd..7f7bc48 100644
--- a/SConstruct
+++ b/SConstruct
@@ -82,7 +82,6 @@ if target_os == 'darwin':
     env.Append(FRAMEWORKS=['OpenGL', 'Cocoa'])
     env.Append(LIBS=['m', 'z', 'argp', 'glfw3', 'objc'])
 
-env.Append(CPPPATH=['ext_src/uthash'])
 env.Append(CPPPATH=['ext_src/stb'])
 env.Append(CPPPATH=['ext_src/noc'])
 
@@ -93,8 +92,7 @@ sources += glob.glob('ext_src/imgui/*.cpp')
 env.Append(CPPPATH=['ext_src/imgui'])
 env.Append(CXXFLAGS='-DIMGUI_INCLUDE_IMGUI_USER_INL')
 
-sources += glob.glob('ext_src/inih/*.c')
-env.Append(CPPPATH=['ext_src/inih'])
+env.Append(LIBS='inih')
 env.Append(CFLAGS='-DINI_HANDLER_LINENO=1')
 
 if target_os == 'posix':

Reply via email to