mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2025-04-21 12:27:27 +03:00
csound: make some progress
This commit is contained in:
27
csound/files/custom.py
Normal file
27
csound/files/custom.py
Normal file
@@ -0,0 +1,27 @@
|
||||
'''
|
||||
Modify this file, by platform, to handle nonstandard options for third-party
|
||||
dependencies. If you do modify this file, you should make it read-only
|
||||
(or otherwise protect it) so that CVS will not overwrite it.
|
||||
|
||||
Order is important: place local paths ahead of system paths.
|
||||
'''
|
||||
import sys
|
||||
import os
|
||||
|
||||
customCPPPATH = []
|
||||
customCCFLAGS = []
|
||||
customCXXFLAGS = []
|
||||
customLIBS = []
|
||||
customLIBPATH = []
|
||||
customSHLINKFLAGS = []
|
||||
customSWIGFLAGS = []
|
||||
|
||||
if sys.platform[:5] == 'linux':
|
||||
platform = 'linux'
|
||||
customCPPPATH.append(os.environ['LDFLAGS'])
|
||||
customCCFLAGS.append(os.environ['CFLAGS'])
|
||||
customCXXFLAGS.append(os.environ['CFLAGS'])
|
||||
customLIBPATH.append(os.environ['LDFLAGS'])
|
||||
else:
|
||||
platform = 'unsupported platform'
|
||||
|
||||
Reference in New Issue
Block a user