prepare for source release, relicense
[ginge.git] / loader / dl.c
index 468a2e0..4282764 100644 (file)
@@ -1,4 +1,9 @@
-// vim:shiftwidth=2:expandtab
+/*
+ * GINGE - GINGE Is Not Gp2x Emulator
+ * (C) notaz, 2010-2011
+ *
+ * This work is licensed under the MAME license, see COPYING file for details.
+ */
 #define _GNU_SOURCE
 #include <stdio.h>
 #include <stdlib.h>
@@ -75,7 +80,9 @@ static void ginge_init(void)
   // remove self from preload, further commands (from system() and such)
   // will be handled by ginge_prep.
   unsetenv("LD_PRELOAD");
+  unsetenv("LD_LIBRARY_PATH");
 
   emu_init((void *)lowest_segment);
 }
 
+// vim:shiftwidth=2:expandtab