]> git.lyx.org Git - features.git/blobdiff - src/SConscript
Some fixes to the scons-based building sytem, from Bo Peng (ben.bob@gmail.com)
[features.git] / src / SConscript
index 4e90038cf07f0fe48662489afcdb5a3fb19f594a..88fa708dd726c4543fb9a6b319419ebf22c66a0e 100644 (file)
@@ -142,6 +142,7 @@ lyx_source = Split('''
   vc-backend.C 
   version.C 
   vspace.C 
+  main.C
 ''')
 
 if env.has_key('USE_ASPELL') and env['USE_ASPELL']:
@@ -151,22 +152,14 @@ elif env.has_key('USE_PSPELL') and env['USE_PSPELL']:
 elif env.has_key('USE_ISPELL') and env['USE_ISPELL']:
   lyx_source += ['ispell.C']
 
-#
-# Create a static library for this directory as well
-# 
-lyx_base = env.StaticLibrary(
-  target = '$LOCALLIBPATH/lyx_base',
-  source = lyx_source
-)
 
 #
 # Build lyx with given frontend
 #
 lyx = env.Program(
   target = 'lyx',
-  source = ['main.C'],
+  source = lyx_source,
   LIBS = [
-    'lyx_base',
     'mathed', 
     'insets', 
     'frontends',