aboutsummaryrefslogtreecommitdiff
path: root/libcutl/build/c/configuration-dynamic.make
diff options
context:
space:
mode:
Diffstat (limited to 'libcutl/build/c/configuration-dynamic.make')
-rw-r--r--libcutl/build/c/configuration-dynamic.make11
1 files changed, 11 insertions, 0 deletions
diff --git a/libcutl/build/c/configuration-dynamic.make b/libcutl/build/c/configuration-dynamic.make
new file mode 100644
index 0000000..17788dd
--- /dev/null
+++ b/libcutl/build/c/configuration-dynamic.make
@@ -0,0 +1,11 @@
+c_id := generic
+c_pp_extra_options := $(CPPFLAGS)
+c_extra_options := $(CFLAGS)
+c_ld_extra_options := $(LDFLAGS)
+c_extra_libs := $(LIBS)
+
+r := $(shell echo $(LDFLAGS) | sed -e 's/-L *\([^ ]*\)/-L\1/g')
+r := $(patsubst -L%,%,$(filter -L%,$(r)))
+r := $(shell echo $(r) | sed -e 's/ /:/g')
+
+c_extra_lib_paths := $(r)