Pinetab-v: rope in config
This commit is contained in:
8
machines/ptv/pkgs-cross/live555/default.nix
Normal file
8
machines/ptv/pkgs-cross/live555/default.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
final: prev: prev.live555.overrideAttrs (old: {
|
||||
preConfigure = (prev.lib.optional (prev.stdenv.hostPlatform != prev.stdenv.buildPlatform) ''
|
||||
sed -e 's/^C_COMPILER.*=.*$/C_COMPILER = $(CC)/g' -i config.*
|
||||
sed -e 's/^CPLUSPLUS_COMPILER.*=.*$/CPLUSPLUS_COMPILER = $(CXX)/g' -i config.*
|
||||
sed -e 's/^LINK.*=.*$/LINK = $(CXX) -o/g' -i config.*
|
||||
sed -e 's/^LIBRARY_LINK.*=.*$/LIBRARY_LINK = $(AR) cr /g' -i config.*
|
||||
'');
|
||||
})
|
||||
Reference in New Issue
Block a user