targets/Linux/__init__.py
branch1.1 Korean release
changeset 1280 72a826dfcfbb
parent 1279 0eb9f8af479f
child 1511 91538d0c242c
equal deleted inserted replaced
977:c8e008b8cefe 1280:72a826dfcfbb
     1 from ..toolchain_gcc import toolchain_gcc
     1 from ..toolchain_gcc import toolchain_gcc
     2 
     2 
     3 class Linux_target(toolchain_gcc):
     3 class Linux_target(toolchain_gcc):
       
     4     dlopen_prefix = "./"
     4     extension = ".so"
     5     extension = ".so"
     5     def getBuilderCFLAGS(self):
     6     def getBuilderCFLAGS(self):
     6         return toolchain_gcc.getBuilderCFLAGS(self) + ["-fPIC"]
     7         return toolchain_gcc.getBuilderCFLAGS(self) + ["-fPIC"]
     7     def getBuilderLDFLAGS(self):
     8     def getBuilderLDFLAGS(self):
     8         return toolchain_gcc.getBuilderLDFLAGS(self) + ["-shared", "-lrt"]
     9         return toolchain_gcc.getBuilderLDFLAGS(self) + ["-shared", "-lrt"]