Commits

illume  committed c532c25

Adde environment variable which can override include directories.
Used by ubuntu and debian.

  • Participants
  • Parent commits 4bedb0c

Comments (0)

Files changed (1)

File config_unix.py

 origincdirs = ['/include', '/include/SDL', '/include/SDL',
                '/include/smpeg']
 origlibdirs = ['/lib','/lib64','/X11R6/lib']
+if 'ORIGLIBDIRS' in os.environ and os.environ['ORIGLIBDIRS'] != "":
+    origlibdirs = os.environ['ORIGLIBDIRS'].split(":")
+
 
 def confirm(message):
     "ask a yes/no question, return result"