mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-25 19:04:21 +03:00
fix up framebuffer build flags
fix select attributes svn path=/trunk/netsurf/; revision=13643
This commit is contained in:
parent
980d4d4caf
commit
3576ad71cb
12
css/select.c
12
css/select.c
@ -1074,7 +1074,7 @@ css_error node_has_attribute_equal(void *pw, void *node,
|
||||
return CSS_NOMEM;
|
||||
|
||||
err = dom_element_get_attribute(n, name, &atr_val);
|
||||
if ((err != DOM_NO_ERR) && (atr_val != NULL)) {
|
||||
if ((err != DOM_NO_ERR) || (atr_val == NULL)) {
|
||||
dom_string_unref(name);
|
||||
*match = false;
|
||||
return CSS_OK;
|
||||
@ -1126,7 +1126,7 @@ css_error node_has_attribute_dashmatch(void *pw, void *node,
|
||||
return CSS_NOMEM;
|
||||
|
||||
err = dom_element_get_attribute(n, name, &atr_val);
|
||||
if ((err != DOM_NO_ERR) && (atr_val != NULL)) {
|
||||
if ((err != DOM_NO_ERR) || (atr_val == NULL)) {
|
||||
dom_string_unref(name);
|
||||
*match = false;
|
||||
return CSS_OK;
|
||||
@ -1193,7 +1193,7 @@ css_error node_has_attribute_includes(void *pw, void *node,
|
||||
return CSS_NOMEM;
|
||||
|
||||
err = dom_element_get_attribute(n, name, &atr_val);
|
||||
if ((err != DOM_NO_ERR) && (atr_val != NULL)) {
|
||||
if ((err != DOM_NO_ERR) || (atr_val == NULL)) {
|
||||
dom_string_unref(name);
|
||||
*match = false;
|
||||
return CSS_OK;
|
||||
@ -1261,7 +1261,7 @@ css_error node_has_attribute_prefix(void *pw, void *node,
|
||||
return CSS_NOMEM;
|
||||
|
||||
err = dom_element_get_attribute(n, name, &atr_val);
|
||||
if ((err != DOM_NO_ERR) && (atr_val != NULL)) {
|
||||
if ((err != DOM_NO_ERR) || (atr_val == NULL)) {
|
||||
dom_string_unref(name);
|
||||
*match = false;
|
||||
return CSS_OK;
|
||||
@ -1325,7 +1325,7 @@ css_error node_has_attribute_suffix(void *pw, void *node,
|
||||
return CSS_NOMEM;
|
||||
|
||||
err = dom_element_get_attribute(n, name, &atr_val);
|
||||
if ((err != DOM_NO_ERR) && (atr_val != NULL)) {
|
||||
if ((err != DOM_NO_ERR) || (atr_val == NULL)) {
|
||||
dom_string_unref(name);
|
||||
*match = false;
|
||||
return CSS_OK;
|
||||
@ -1393,7 +1393,7 @@ css_error node_has_attribute_substring(void *pw, void *node,
|
||||
return CSS_NOMEM;
|
||||
|
||||
err = dom_element_get_attribute(n, name, &atr_val);
|
||||
if ((err != DOM_NO_ERR) && (atr_val != NULL)) {
|
||||
if ((err != DOM_NO_ERR) || (atr_val == NULL)) {
|
||||
dom_string_unref(name);
|
||||
*match = false;
|
||||
return CSS_OK;
|
||||
|
@ -58,12 +58,12 @@ ifeq ($(HOST),mint)
|
||||
# xml-config returns -lsocket which is not needed and does not
|
||||
# exist on all systems. because of that - hardcoded reference to
|
||||
# libxml-2.0 here.
|
||||
LDFLAGS += -L/usr/lib/ -lxml2 -lz -liconv
|
||||
LDFLAGS += -L/usr/lib/ -lz -liconv
|
||||
LDFLAGS += -lm
|
||||
else
|
||||
CFLAGS += $(shell $(PKG_CONFIG) --cflags libcurl)
|
||||
|
||||
LDFLAGS += $(shell $(PKG_CONFIG) --libs libxml-2.0 libcurl libhubbub openssl)
|
||||
LDFLAGS += $(shell $(PKG_CONFIG) --libs libxml-2.0 libcurl libdom openssl)
|
||||
LDFLAGS += $(shell $(PKG_CONFIG) --libs libcss)
|
||||
endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user