summaryrefslogtreecommitdiff
path: root/src/scripts
diff options
context:
space:
mode:
authorTomas Weinfurt <tweinfurt@yahoo.com>2018-05-21 17:38:50 -0700
committerGitHub <noreply@github.com>2018-05-21 17:38:50 -0700
commit49f6249abc44269b437064e850ad22eb9f74a446 (patch)
tree43ead3d24e68eef9b9fdf5360fb94fddcd4df017 /src/scripts
parent3910feed29faffb67a0cacf9470461219539e632 (diff)
downloadcoreclr-49f6249abc44269b437064e850ad22eb9f74a446.tar.gz
coreclr-49f6249abc44269b437064e850ad22eb9f74a446.tar.bz2
coreclr-49f6249abc44269b437064e850ad22eb9f74a446.zip
small fixes to build CoreCLR on FreeBSD again (#18072)
* small fixes to build CoreCLR on FreeBSD again * feedback from review * update genLttngProvider.py as jan suggested * remove extra comment * add missing extra space
Diffstat (limited to 'src/scripts')
-rw-r--r--src/scripts/genLttngProvider.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/scripts/genLttngProvider.py b/src/scripts/genLttngProvider.py
index de537d0f1a..296042be5b 100644
--- a/src/scripts/genLttngProvider.py
+++ b/src/scripts/genLttngProvider.py
@@ -555,8 +555,10 @@ def generateLttngFiles(etwmanifest,eventprovider_directory):
tracepointprovider_Cmake.write(""" )
+ find_library(LTTNG NAMES lttng-ust)
+
target_link_libraries(coreclrtraceptprovider
- -llttng-ust
+ ${LTTNG}
)
# Install the static coreclrtraceptprovider library
@@ -772,4 +774,4 @@ def main(argv):
if __name__ == '__main__':
return_code = main(sys.argv[1:])
- sys.exit(return_code) \ No newline at end of file
+ sys.exit(return_code)