diff libpurple/win32/win32dep.c @ 27489:b74fa3d29cda

Modify the Windows build/install setup to deal with the perl modules the way the Linux build/install setup does. This wasn't strictly necessary but does make things more nicely parallel.
author Etan Reisner <pidgin@unreliablesource.net>
date Tue, 07 Jul 2009 15:44:24 +0000
parents 627d23bfdb05
children 224f9674a57e
line wrap: on
line diff
--- a/libpurple/win32/win32dep.c	Tue Jul 07 15:42:04 2009 +0000
+++ b/libpurple/win32/win32dep.c	Tue Jul 07 15:44:24 2009 +0000
@@ -419,8 +419,6 @@
 void wpurple_init(void) {
 	WORD wVersionRequested;
 	WSADATA wsaData;
-	const char *perlenv;
-	char *newenv;
 
 	if (!g_thread_supported())
 		g_thread_init(NULL);
@@ -444,17 +442,6 @@
 		WSACleanup();
 	}
 
-	/* Set Environmental Variables */
-	/* Tell perl where to find Purple's perl modules */
-	perlenv = g_getenv("PERL5LIB");
-	newenv = g_strdup_printf("%s%s%s" G_DIR_SEPARATOR_S "perlmod;",
-		perlenv ? perlenv : "",
-		perlenv ? ";" : "",
-		wpurple_install_dir());
-	if (!g_setenv("PERL5LIB", newenv, TRUE))
-		purple_debug_warning("wpurple", "putenv failed for PERL5LIB\n");
-	g_free(newenv);
-
 	purple_debug_info("wpurple", "wpurple_init end\n");
 }