diff --git a/Makefile b/Makefile index 78e262c..44ff4a7 100644 --- a/Makefile +++ b/Makefile @@ -9,9 +9,9 @@ DESTDIR = SED_PREFIX = $(shell echo $(PREFIX) | sed "s/\//\\\\\\\\\//g") -LINK = ln -s -PYUIC = pyuic4 -PYRCC = pyrcc4 -py3 +LINK = ln -s +PYUIC ?= pyuic4 +PYRCC ?= pyrcc4 -py3 # Detect X11 rules dir ifeq "$(wildcard /etc/X11/xinit/xinitrc.d/ )" "" diff --git a/c++/jackmeter/Makefile b/c++/jackmeter/Makefile index 9f250cd..c52d3f5 100644 --- a/c++/jackmeter/Makefile +++ b/c++/jackmeter/Makefile @@ -34,7 +34,7 @@ cadence-jackmeter: $(FILES) $(OBJS) $(CXX) $(OBJS) $(LINK_FLAGS) -o $@ && $(STRIP) $@ cadence-jackmeter.exe: $(FILES) $(OBJS) icon.o - $(CXX) $(OBJS) icon.o $(LINK_FLAGS) -static -mwindows -o $@ && $(STRIP) $@ + $(CXX) $(OBJS) icon.o $(LINK_FLAGS) -limm32 -lole32 -luuid -lwinspool -lws2_32 -mwindows -o $@ && $(STRIP) $@ # -------------------------------------------------------------- diff --git a/c++/xycontroller/Makefile b/c++/xycontroller/Makefile index 689372d..523c455 100644 --- a/c++/xycontroller/Makefile +++ b/c++/xycontroller/Makefile @@ -38,7 +38,7 @@ cadence-xycontroller: $(FILES) $(OBJS) $(CXX) $(OBJS) $(LINK_FLAGS) -o $@ && $(STRIP) $@ cadence-xycontroller.exe: $(FILES) $(OBJS) icon.o - $(CXX) $(OBJS) icon.o -static -mwindows $(LINK_FLAGS) -o $@ && $(STRIP) $@ + $(CXX) $(OBJS) icon.o $(LINK_FLAGS) -limm32 -lole32 -luuid -lwinspool -lws2_32 -mwindows -o $@ && $(STRIP) $@ # -------------------------------------------------------------- diff --git a/src/shared_canvasjack.py b/src/shared_canvasjack.py index 44d326a..221627e 100644 --- a/src/shared_canvasjack.py +++ b/src/shared_canvasjack.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- # Common/Shared code related to Canvas and JACK -# Copyright (C) 2010-2012 Filipe Coelho +# Copyright (C) 2010-2013 Filipe Coelho # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -26,7 +26,9 @@ from PyQt4.QtGui import QCursor, QFontMetrics, QImage, QMainWindow, QMenu, QPain # Imports (Custom Stuff) import patchcanvas -import jacksettings, logs, render +import jacksettings +import logs +import render from shared import * from jacklib_helpers import *